CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

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 Dev Shed Forums Sponsor:
  #1  
Old March 7th, 2004, 09:17 AM
TomGillespie TomGillespie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: uk
Posts: 91 TomGillespie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 29 m 38 sec
Reputation Power: 6
problem with paragraphs when using css

I'm experimenting using css, on the page
http://www.philmorris.biz/view.php?id=3278941167

The problem I have is the way that each line on the description has its own highlight- something that I've only experienced with css

One thing I've noticed is that each line of the description is it's own paragraph, however since the description is pulled straight from eBay, there's not much I can do about that.

Are there any obvious things I'm not thinking of?

Thanks

Reply With Quote
  #2  
Old March 7th, 2004, 10:44 PM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,585 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 16 h 18 m 25 sec
Reputation Power: 662
The answer is in the stylesheet.
Code:
body, td, p, div {
	
	font : normal normal normal 12px/normal Arial, Helvetica, sans-serif;
	scrollbar-3dlight-color : #3169B5;
	scrollbar-highlight-color : #3169B5;
	scrollbar-arrow-color : #FFFFFF;
	scrollbar-face-color : #79A4C9;
	scrollbar-shadow-color : #202558;
	scrollbar-darkshadow-color : #12142F;
	scrollbar-track-color : #E5EEF2;
	background-image: url(gradient.gif);
 	background-repeat: repeat-x;
}
In each paragraph, there is only room for the very top of the gradient. Compare the shade to the top of the body or div. Simply remove p from the ruleset.

cheers,

gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

My html and css workshop, demos and tutorials.
Ask a better question, get a better answer.

Last edited by kk5st : March 7th, 2004 at 10:46 PM. Reason: stupid typos!#@%*@

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > problem with paragraphs when using 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