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

Forum

Log In Sponsors
Board index Programming CSS Forum

Style Tables with CSS

Postby webmaster on Thu Aug 04, 2005 12:24 pm

Now the page works. but I didn't understood your question though.... Do you need help to use CSS to style the table to reduce the size of the document?
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby stevex on Thu Aug 04, 2005 3:34 pm

I dont want a table.I want the blocks of background defined
by css.I want the links/text position,font,size defined by css.
ie no <td> tags etc.,i know this is possible.My aim is pixel
precision,no" exploding" cells etc.Your earlier post answered question of styling table very well btw!
Best,Steve
stevex
 
Posts: 8
Joined: Wed Aug 03, 2005 8:36 pm

Postby webmaster on Thu Aug 04, 2005 4:05 pm

This is the code for a box with a backgound:

Code: Select all
<html>
<head>
<style>
div#test {
   position: absolute;
   width: 200px;
   height: 500px;
   top: 100px;
   left: 100px;
   background: green;
}
</style>
</head>
<body>
<div id="test">
   TEXT IN THE BOX
</div>
</body>
</html>
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby stevex on Thu Aug 04, 2005 4:37 pm

Guru,thankyou cant wait to try.Please can you explain:
I understood css dispensed with the <html></html>.....?
Very grateful,Steve
stevex
 
Posts: 8
Joined: Wed Aug 03, 2005 8:36 pm

Postby Phate on Thu Aug 04, 2005 6:26 pm

a CSS stylesheet gets rid of the <html> tags...
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1

Postby stevex on Thu Aug 04, 2005 7:52 pm

Not helpful;read previous,please before posting,
Steve
stevex
 
Posts: 8
Joined: Wed Aug 03, 2005 8:36 pm

Postby stevex on Thu Aug 04, 2005 8:52 pm

Somebody!steve
stevex
 
Posts: 8
Joined: Wed Aug 03, 2005 8:36 pm

Previous

Who is online

Users browsing this forum: No registered users and 0 guests