| | |
fancy borders with images... ?
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Feb 2005
Posts: 427
Reputation:
Solved Threads: 12
... godfear1 ...
Pretty, but I tend to avoid tables.
After much argueing, testing, re-arguing and re-testing, I came to agree with the many CSS lovers out there, "tables just don't do it".
CSS blocks have to many advantages ove Tables in regards to lighter code and Accessability...
That said, Tables still holds some advantages (e.g. multiple columns or ratio heights)...
PLus yours was damned pretty!
... Rhyan ...
Your English was fine!
Scalability is achievable... just takes a bit of practice and some time to learn new logic.
As much as I adore CSS, I have no idea what the developers were on when they came up with NNN means XXX should happen... some of it is a little strange at first when something doesn't do what you thought.
Try setting font-size: 62.5%; in HTML, then setting font-size: 1em; in BODY in your CSS file... that should equate to being around 10px in most if not all browsers.
that makes it damned easy to make things scalable, and not just text!
you can allocated heights and widths in em's too.... as well as margins or positions.... (position: absolute; top: 2.5em; left: 5em
means 25px from the top and 50px from the left... as the text-size is increased in the browser, so will the spacing!

also works for images! just set an id or class for your image, then in the CSS allocate dimensions in em's... whatch it change according to browser text-size!
Go on, have a play - see what you can do
Pretty, but I tend to avoid tables.
After much argueing, testing, re-arguing and re-testing, I came to agree with the many CSS lovers out there, "tables just don't do it".
CSS blocks have to many advantages ove Tables in regards to lighter code and Accessability...
That said, Tables still holds some advantages (e.g. multiple columns or ratio heights)...
PLus yours was damned pretty!
... Rhyan ...
Your English was fine!
Scalability is achievable... just takes a bit of practice and some time to learn new logic.
As much as I adore CSS, I have no idea what the developers were on when they came up with NNN means XXX should happen... some of it is a little strange at first when something doesn't do what you thought.
Try setting font-size: 62.5%; in HTML, then setting font-size: 1em; in BODY in your CSS file... that should equate to being around 10px in most if not all browsers.
that makes it damned easy to make things scalable, and not just text!
you can allocated heights and widths in em's too.... as well as margins or positions.... (position: absolute; top: 2.5em; left: 5em
means 25px from the top and 50px from the left... as the text-size is increased in the browser, so will the spacing!
also works for images! just set an id or class for your image, then in the CSS allocate dimensions in em's... whatch it change according to browser text-size!
Go on, have a play - see what you can do
![]() |
Similar Threads
- Getting rid off the border round link images (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: Footer
- Next Thread: Browser problem's
Views: 12566 | Replies: 10
| Thread Tools | Search this Thread |
Tag cloud for HTML and CSS
2002 appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity create css deleted design development displayimageinsteadofflash dreamweaver drupal emailmarketing epilepsy explorer firefox flash font fonts form format frontpage google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft missing mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. templates textcolor theme timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 wordpress xml xsl





