It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Partner Sites
Board index Programming CSS Forum

Font Problem

Font Problem

Postby Tagger2 on Wed Feb 13, 2008 2:20 am

Im new to CSS... Really new, but im tired of using html shortcuts and being labled inefficient so Im trying to learn.

I had a piece of text, welcome, in one part of the screen and I wrapped in a <div> and started editing font, color, size in the little css editor corner inside of dreamweaver.

Everytime I test it in the browser it reduces the text size back down to like 12pt font.

Am I going about editing the text's properties the wrong way?

Help. Please.
_________________________________________
HELP ME!
Tagger2
 
Posts: 4
Joined: Tue Feb 12, 2008 11:16 pm
Location: Florida

Postby dflynn on Wed Feb 13, 2008 5:13 pm

does the div tag have an id="Layer# " or a class=""

These are important because if it is just an empty <div> tag then the tag is only being used to separate the text.

Take a look at your CSS and if you see:

#Layer1{
}

then the div tag should look like this:

<div id="Layer1">Welcome</div>


if the CSS says:

.name{
}

the the div should look like this:

<div class="name">Welcome </div>


Hope this helps. if not post your html/css here and i'll take a look





WOOT 200 posts :)
Image
nnjoi.com - Portfolio
nnjoiart.com - Art & Design Blog
bathroomwriter.com - Interested in helping out with Beta Testing? PM me.
User avatar
dflynn
500+ Club
 
Posts: 859
Joined: Wed Oct 03, 2007 10:06 pm
Location: Guelph, Canada


Who is online

Users browsing this forum: No registered users and 0 guests