Current location: Hot Scripts Forums » General Web Coding » CSS » simple css driving me nuts

simple css driving me nuts

Reply
  #1 (permalink)  
Old 05-25-07, 07:52 PM
bitstomper bitstomper is offline
Newbie Coder
 
Join Date: Feb 2007
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Angry simple css driving me nuts

Hi,

Installed very simple css to change an image.
However, the rollovers jump for an unknown reason.
I can not find why. All images are the same size and sizes are defined.

Please HELP, this is driving me nuts.

link: http://www.torbandreiner.com/milline...os_order3.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 05-25-07, 07:54 PM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 7,572
Thanks: 5
Thanked 27 Times in 24 Posts
Try adding this to your CSS:
css Code:
  1. img
  2. {
  3.     border: none;
  4. }
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 05-25-07, 08:58 PM
bitstomper bitstomper is offline
Newbie Coder
 
Join Date: Feb 2007
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Talking

thanks. that was it,
though I had to add it to the actual img tag: < img src=".." style="border: none">

even though the img sits inside a div which has the border already defined as none.

Why is that?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 05-25-07, 10:28 PM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 7,572
Thanks: 5
Thanked 27 Times in 24 Posts
I'm moving this to CSS.


And the div and the image are 2 different elements. You have to specify the properties for each.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS inspiration webzen CSS 3 03-05-08 02:47 AM
css drop down menu help! Space Cowboy CSS 2 01-10-07 12:36 AM
HTML <table> -> CSS Only scott2500uk CSS 6 12-24-06 03:45 PM
ColdFusion CSS - very simple project - will pay INTEL Job Offers & Assistance 1 03-19-06 11:21 AM
Simple 3-col. layout with CSS. Justin171985 CSS 1 10-24-05 02:40 PM


All times are GMT -5. The time now is 03:00 AM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.