More CSS...

He has: 52 posts

Joined: Apr 2006

Okay, I have one (maybe two) more question(s):

I have a table within a div. When I try to style the cells in the table (specifically BORDER operations), they make that ugly push (or shake, or whatever you call it). Why? What can I do to stop that?

Also, is it possible to make a TABLE CELL rollover usng only CSS and that (a.X:hover) trick?

CSS:

Quote: td.norm {

color: black;
padding: 5px;
width: 200px;
}
td.hover {
cursor: default;
color: #ccc;
padding: 5px;
width: 200px;
border-left: 1px solid #000;
}

HTML:

Quote:

TITLE IMAGE

//HOME
//PROJECTS
//ARTICLES
//EXT. LINKS
//ABOUT

He has: 113 posts

Joined: Jul 2005

I am assuming by push or shake, that when you roll over the table cell, it shifts position?

The reason for that is that you have a border on the hover event of 1px, but no border on the idle style. You need to add a border to both in order to avoid this problem. Use a 1px border colour the same as your background to stop it being visible.

better still assign a 1px border, but set its border style to none.

He has: 52 posts

Joined: Apr 2006

Your skill is unmatched.

Thank you. Sticking out tongue

He has: 113 posts

Joined: Jul 2005

What a nice thing to say Smiling

who paid you? lol

He has: 52 posts

Joined: Apr 2006

The Chinese government. (no smiley because it's China, and they don't do that there)

He has: 113 posts

Joined: Jul 2005

rofl laughing. The chinese government are aware of me Shocked

Busy's picture

He has: 6,151 posts

Joined: May 2001

Neutron2k wrote: rofl laughing. The chinese government are aware of me Shocked

also the FBI, Scottland Yard and the local bingo club

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.