Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old October 1st, 2005, 07:59 PM
LLX LLX is offline
Contributing User
Click here for more information
 
Join Date: Apr 2007
Location: Glendale, CA, USA
Posts: 1,131 LLX User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 58 m
Reputation Power: 3
Send a message via AIM to LLX Send a message via Yahoo to LLX
lil help with css

What im trying to do is have the links usea solid ilange background (width 200 height 122) with the text cenetered in the image, i know i can do this in PHP with GD but wwant to try it CSS side first, however i cant get the full image to show up, ifi just remove the leading I in my url tag on the code provider i get the imag,e and it changes on mouse over liek i want but it only shows part of the image.

How do i get my text links to hall have the same unified background images withthe same hieght and width?

http://www.divadogthemovie.com/frames.php

this is my css
Code:
body {background: #561AA8 url(BGs/dd5800.jpg) 0 0 no-repeat fixed;}
body {position: relative; margin: 0; padding: 0;}

div#content {background: #C5B7D7 url(.jpg) 0 0 no-repeat fixed;}
div#content {position: absolute; top:40px; left: 364px;
   color: #561AA8; font: 13px Verdana, sans-serif; padding: 10px; border: none;}
div#content p {margin: 0 1em 1em;}
div#content h3 {margin-bottom: 0.25em;}

div#links a {background: white url(iImages/linkbone copy.png) 0 0 no-repeat fixed;}
div#links a:hover {background: white url(iImages/linkbone copydark.png) 0 0 no-repeat fixed;}
div#links a {text-align: center; font: bold 1em Arial;
   padding: 5px 10px; margin: 0 0 0px; border-width: 0;
   text-decoration: none; color: brown;}
div#links a:hover {color: black;}
h1 {margin: -9px -9px 0.5em; padding: 15px 0 5px; text-align: right; background: #135115; color: #000000; letter-spacing: 0.5em; text-transform: lowercase; font: bold 25px Times New Roman; height: 28px; vertical-align: middle; white-space: nowrap;}
dt {font-weight: bold;}
dd {margin-bottom: 0.66em;}

div#links {position: absolute; top: 0px; left: 0px; font: 16px Arial; border: none}
code, pre {color: blue; font: 110% monospace;}

Reply With Quote
  #2  
Old October 6th, 2005, 05:21 AM
By_a_ By_a_ is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Australia
Posts: 60 By_a_ User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: lil help with css

If you use;
a:link{}
a:hover{}
a:active{}
a:visited{}

That should solve your problem as this sets the properties and whatnot for ALL links all over the page, not just the ones between certain Div tags.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > lil help with css


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT