About <br clear="all> (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


Peppergal -> About <br clear="all> (1/26/2004 10:38:21)

C1sissy, you mentioned this in another thread and I wanted to discuss it as pertaining to my current dilemma (there's always gotta be one)

quote:

One other thing, and this is something that you should always use with divs. After each div add

<br clear="all">



Would you use that with divs nested within an absolutely positioned div?

I had this page working fine in all browsers; I don't know what happened to screw it up. It looks okay in IE (but the hints don't show up like they're supposed to when you hover over the links) but it has gone a little nutso on Mozilla. I can't figure it out.

www.wallenpaupackhomes.com

I'm about ready to just ditch the darn hints thing (though it really did look kind of cool) Maybe I should just go for Titles on the links and forget the hints showing up.




c1sissy -> RE: About <br clear="all> (1/26/2004 11:51:36)

quote:

ORIGINAL: Peppergal

C1sissy, you mentioned this in another thread and I wanted to discuss it as pertaining to my current dilemma (there's always gotta be one)

quote:

One other thing, and this is something that you should always use with divs. After each div add

<br clear="all">



Would you use that with divs nested within an absolutely positioned div?

I had this page working fine in all browsers; I don't know what happened to screw it up. It looks okay in IE (but the hints don't show up like they're supposed to when you hover over the links) but it has gone a little nutso on Mozilla. I can't figure it out.

www.wallenpaupackhomes.com

I'm about ready to just ditch the darn hints thing (though it really did look kind of cool) Maybe I should just go for Titles on the links and forget the hints showing up.


I would. I used it on my homework page as I noticed that without it the nested divs were not taking on the position that I wished for them to take. So I did some searching and was reading some on the <break clear all>. On the psp8 homework page I noticed the same thing, unless I used the <br clear="all" /> my things wouldn't work right.

I don't know if there is another way to do this, but it seems to work. Unless someone has a better way or if I am not right with it, a correct way, it works for me.

Can you post your css? I looked at it in my instant source and it looks like you might have too many spaces in your code.

It could just be the instant source, but this is what I am getting
A.menubar {
font-size:        small;
font-family:      verdana, arial, helvetica, sans-serif;
font-style:       normal;
font-weight:      bold;
color:            black;
background-color: #9ab49a;
text-decoration:  none;
}


If you have this in your style sheets, try to only have one space between the font-family: verdana, etc...

A.menubar 
     {
        font-size: small;
        font-family: verdana, arial, helvetica, sans-serif;
        font-style: normal;
        font-weight: bold;
        color: black;
        background-color: #9ab49a;
        text-decoration:  none;
     }


Also, have your font weight before your family. Then I believe that after yoru weight comes the style then the family. I posted something about it here somewhere. I can always get back to you with how it goes.

Sometimes it could be the way that the code is set up that causes a page to fall apart. I wish I could help more, I am still in the learning process as well, lol, seems as though it is a forever state![;)]




Peppergal -> RE: About <br clear="all> (1/26/2004 13:18:50)

I'll change those spaces (don't know why they're like that, as I never do more than one space...but I did see that myself) and I'll add the tag you mentioned. I'll let you know.

I did NOT know there was any sort of order for the font family declarations though!




c1sissy -> RE: About <br clear="all> (1/26/2004 13:35:50)

quote:

I did NOT know there was any sort of order for the font family declarations though!


I actually didnt know either, but in reading cascading style sheets by desing, I just recently read about it, then I found a link online that I posted in here somewhere. I think it was in the one post regarding links.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125