This is a discussion on "Using Font Size in BODY attribute" within the Website Planning section. This forum, and the thread "Using Font Size in BODY attribute are both part of the Planning Your Website category.
|
|
|
|
|
![]() |
||
Using Font Size in BODY attribute
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Using Font Size in BODY attribute
I have an issue with CSS Body font-size attribute.
Although set to 10pt, whatever appears in UL tag does not obey this size. Font Style, Colour etc. all okay. Also, I do not have a UL attribute in my css file, should I to overcome this problem? Perhaps you or another member can advise please? Thanks |
|
|
|
#2
|
|||
|
|||
|
Re: Using Font Size in BODY attribute
Could we see your css please.
Pete. |
|
#3
|
|||
|
|||
|
Re: Using Font Size in BODY attribute
I think you have an open span class or something that might cause that. Either provide the css or the website where the problem exists. 1 minute of troubleshooting from one of us should be able to address the issue.
You said you don't have UL in the css, what about LI. If you have LI specified, there's your problem. If you don't want to share the code, then specify the font size for LI or UL to be the same size as the body. Not much else I can tell you without seeing code. |
|
#4
|
|||
|
|||
|
Re: Using Font Size in BODY attribute
Hi
css here. Note that I don't have LI font set up, as you queried. Thanks for your help. (css is a bit large but it does look after many pages).
Last edited by Lchad; Sep 2nd, 2007 at 23:56. Reason: please use code tags next time. |
|
#5
|
|||
|
|||
|
Re: Using Font Size in BODY attribute
And the HTML as well, sorry (a link would be simpler, I think).
Pete. |
|
#6
|
|||
|
|||
|
Re: Using Font Size in BODY attribute
I would suggest you do not use font size in body class.
Thank you, Regards, Pakistan Boy, Last edited by Lchad; Sep 10th, 2007 at 11:59. Reason: spam included |
|
#7
|
|||
|
|||
|
Re: Using Font Size in BODY attribute
Why?
|
|
#8
|
|||
|
|||
|
Re: Using Font Size in BODY attribute
Personally I do this kind of thing because as you say, some tags such as <ul> dont accept the font size being used in body:
|
![]() |
| Tags |
| body, font size |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IE7 font size and formatting - help | Xhristy | Web Page Design | 4 | Apr 3rd, 2007 17:35 |
| body font size problem | samv | Web Page Design | 6 | Feb 21st, 2007 11:55 |
| How font size works in CSS? | sahota | Web Page Design | 19 | Dec 20th, 2006 22:56 |
| why h1 doesn't inherit font -size from body? | sahota | Web Page Design | 3 | Dec 12th, 2005 20:55 |
| font-size: does not work in <body> | andersonoo7 | Web Page Design | 4 | Jul 23rd, 2005 03:00 |