OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Page in CSS: Attempt 2
This page's ID:
10971
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I really shouldn't stick my nose in here but I have a hunch where the problem is. In order to position the table in the center on the vertical whatever you need to use "negative margins" copy paste out of your html file : .right { BACKGROUND: #999999; FLOAT: right;[i] MARGIN: 0px 10px 0px 0px; [/i]WIDTH: 120px; BORDER-TOP-STYLE: solid; BORDER-RIGHT-STYLE: solid; BORDER-LEFT-STYLE: solid; HEIGHT: 195px; TEXT-ALIGN: left; BORDER-BOTTOM-STYLE: solid } If you change your margins to read : [i] MARGIN: 0px 10px 0px -10px; [/i] the -10px will move the table to the left a little. When I downloaded your page to fiddle with it for some reason the vertical bars went missing so couldn't really line the table up and I was just guessing on the margin value. I cann't give you a technical explaination since I am a very lousy coder - I am sure someone will be able to explain it so it will make sense. sib Negative margins are magic when it comes to placing elements - Thanks Emps ;-) edit: got my left and rights mixed up [This message has been edited by sib (edited 05-17-2003).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »