#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    uk
    Posts
    91
    Rep Power
    12

    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
  2. #2
  3. Thanks Johnny Hart (BC) R.I.P.

    Join Date
    May 2003
    Location
    Dallas
    Posts
    5,268
    Rep Power
    1956
    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
    Last edited by kk5st; March 7th, 2004 at 11:46 PM. Reason: stupid typos!#@%*@
    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.

IMN logo majestic logo threadwatch logo seochat tools logo