Go Back   Webmaster Forums - DN Lodge > Web Design and Development > Web Development Discussion

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 12-16-06, 10:33 PM
Geoserv's Avatar
Co-Admin
DNLodge Staff
 
Join Date: May 2006
Location: Nova Scotia, Canada
Posts: 2,244
DNL Trust: (0)
Geoserv has a helpful personalityGeoserv has a helpful personality
Default Guide to CSS - Part 1

Heres a beginners guide to CSS. This part 1 of many to come. If you find this helpful, please click the Digg button at the end to show your appreciation.

---------

Q. How do I remove the underlining from links?
A. Using a Stylesheet
<style type="text/css">
A:link {text-decoration: none}
A:visited {text-decoration: none}
A:hover {text-decoration: none}
A:active {text-decoration: none}
</style>

Q: How do I get rid of the blue border around images that I've made into links?

A. Add this to your CSS style information:
img {border: none; }


Q: How do I get my pages to go to the edges of the window?
A. Add this to your body CSS style:
{margin: 0px; padding: 0px; }


How do I change the color of the scrollbar?
<style>
<!--BODY {scrollbar-face-color:#000000;
scrollbar-shadow-color:#ffffff;
scrollbar-highlight-color:#000000;
scrollbar-3dlight-color:#993366;
scrollbar-darkshadow-color:#000000;
scrollbar-track-color:#000000;
scrollbar-arrow-color:green;}-->
</style>

This only works for IE5.1+. It doesn't work in any current version of Netscape.

Q: How do I make links change on-hover?

A. <style type="text/css">
a:hover {text-decoration:overline)
</style>

<style type="text/css">
a:hover {text-decoration:underline)
</style>

<style type="text/css">
a:hover {text-decoration:line-through)
</style>

<style type="text/css">
a:hover {text-decoration:none)
</style>


Part 2 coming soon.

Geoserv.
__________________
Your Questions Answered: FAQ PAL - Brand NEW!
Follow me on Twitter at - @Pliggs
FREE Twitter Backgrounds |APNAOnline | Utopian Productions |Pliggs |DIY Pad
|Get In On | Apollo Health Service
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Want to remove these ads? Register for your free account here.

  #2  
Old 04-06-07, 12:58 AM
Brandon's Avatar
DNL Founder/Moderator
DNLodge Staff
 
Join Date: Aug 2005
Location: USA
Posts: 5,123
DNL Trust: (0)
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Skype™ to Brandon
Brandon is making his way to the top
Default Re: Guide to CSS - Part 1

Hm, I never actually saw this thread. But looks good Geoserv, although you posted this a while ago, and it has a pagerank 2

Nice job.

Quote:
Part 2 coming soon.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 06-29-07, 07:54 AM
Kristee_webb's Avatar
DNL Member
 
Join Date: Jun 2007
Posts: 93
DNL Trust: (0)
Kristee_webb is a pretty decent person
Default Re: Guide to CSS - Part 1

very nice list.
__________________
Looking for your favorite TV Shows?
Try our Deep Discount DVD Store. Check out our Matlock DVD collection.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 09-01-07, 11:31 AM
DNL Enthusiast
 
Join Date: Feb 2007
Posts: 138
DNL Trust: (0)
sheena is a pretty decent person
Default Re: Guide to CSS - Part 1

Thanks for the list of CSS code and it is very helpful to know this.
__________________

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 12-12-07, 02:45 PM
DNL Enthusiast
 
Join Date: Jul 2006
Posts: 228
DNL Trust: (0)
cheapez is a pretty decent person
Default Re: Guide to CSS - Part 1

Css makes it easy

text-decoration:overline
text-decoration:line-through
IE supports them?

Good job Geoserv
__________________
Battledawn
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
css, guide, part


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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Domains For Sale EJRS.COM Sites & Domains For Sale 2 09-26-06 10:38 AM
Invision Forums CSS Guide RichPixel Programming 1 01-26-06 10:09 AM
Images with CSS UndergroundMark Web Development Discussion 0 11-25-05 11:06 AM
CSS Introduction UndergroundMark Web Development Discussion 0 11-25-05 11:04 AM
CSS Tutorial! Joseph Web Design Discussion 1 05-25-05 12:58 PM


All times are GMT -5. The time now is 03:15 PM.



Copyright © 2005-2009 DNLodge.com.
vBulletin, © 2000-2009, Jelsoft Enterprises Limited.
SEO by vBSEO.
About Us |  Contact Us |  RSS |  Privacy Policy  |  Back to Top