![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I created a table and applied an image as background in table header: .MyTable th { font: normal 0.7em verdana,arial,helvetica,sans-serif; background: url(Images/Header.jpg) repeat-x 0px 0px; padding: 4px; } The problem is when I click CTRL + to increase the font size the background does not fill all header. The image is a gradient from Top to Down. Is this possible to solve this? Is even a good idea to use an image as background in a table header? It is ok, no particular badness about it. Perhaps you can look |
#3
| |||
| |||
|
|
shapper wrote: I created a table and applied an image as background in table header: .MyTable th { font: normal 0.7em verdana,arial,helvetica,sans-serif; .................^^^ ^^^^^^^ Read this:http://k75s.home.att.net/fontsize.html -- -bts -Motorcycles defy gravity; cars just suck |
#4
| |||
| |||
|
|
I read the article and in fact I was reading a few things about font size a few weeks ago. My conclusion was that I should use something like: body { font: normal 0.7em verdana,arial,helvetica,sans-serif; } And then everything relative to it like: h1 {font: normal 120% verdana,arial,helvetica,sans-serif;} .note {font: normal 70% verdana,arial,helvetica,sans-serif;} Am I thinking wrong? |
#5
| |||
| |||
|
|
In article 50f2c0f0-4e65-4d2b-9c2d-f6cbeb754... (AT) d50g2000hsf (DOT) googlegroups.co m>, shapper <mdmo... (AT) gmail (DOT) com> wrote: I read the article and in fact I was reading a few things about font size a few weeks ago. My conclusion was that I should use something like: body { font: normal 0.7em verdana,arial,helvetica,sans-serif; } And then everything relative to it like: h1 {font: normal 120% verdana,arial,helvetica,sans-serif;} .note {font: normal 70% verdana,arial,helvetica,sans-serif;} Am I thinking wrong? You are starting too small. .7em is too tiny to set for body text. But you are right that everything else is relative to that under normal conditions. -- dorayme |
#6
| |||
| |||
|
|
dorayme wrote: Am I thinking wrong? You are starting too small. .7em is too tiny to set for body text. But you are right that everything else is relative to that under normal conditions. I also saw two other approaches: 1. Setting body text to 100% and everything else using em 2. Setting body text and everything in percentage. |
|
I am a little bit confused now. What is the best way to do it? I started with 0.7 em because of something that I read. Maybe I should use 100% in body. What is the difference between using % or ems? |
#7
| |||
| |||
|
|
What is the difference between using % or ems? |
![]() |
| Thread Tools | |
| Display Modes | |
| |