[css-d] How to 'unvisited' links?

2010-12-06 Thread Yu-Hsuan Lai
When I test my page's css, I want to see a element both :link and :visited. But I have clicked the a. How to return it to :link from :visited? (without change it's URL?) -- Lai, Yu-Hsuan __ css-discuss

Re: [css-d] How to 'unvisited' links?

2010-12-06 Thread Tim Arnold
Clearing your browser history will reset all your visited links. Other than that, you will either have to change the link, or remove the visited style from your css. -Tim On Mon, Dec 6, 2010 at 10:12 AM, Yu-Hsuan Lai rainco...@gmail.com wrote: When I test my page's css, I want to see a

[css-d] Element a is little bigger than inner img

2010-12-06 Thread Yu-Hsuan Lai
My HTML is : --- a class=tool style=padding:0;border:0;margin:0 href=# img height=100% src=img/next_page.png alt=next page / /a --- I think that a should fill up with img, but in fact, img is smaller than a. Like this:http://ppt.cc/RqlC Can I make them the same size? -- Lai, Yu-Hsuan

Re: [css-d] Element a is little bigger than inner img

2010-12-06 Thread Chetan Crasta
Try a class=tool style=padding:0;border:0;margin:0;display:block;height:100% href=# ~Chetan On Mon, Dec 6, 2010 at 10:29 PM, Yu-Hsuan Lai rainco...@gmail.com wrote: My HTML is : --- a class=tool style=padding:0;border:0;margin:0 href=#         img height=100% src=img/next_page.png alt=next

Re: [css-d] Element a is little bigger than inner img

2010-12-06 Thread Chetan Crasta
Please provide a link to the page so that we can check the code. ~Chetan On Mon, Dec 6, 2010 at 10:51 PM, Yu-Hsuan Lai rainco...@gmail.com wrote: But... display:block will break my layout. If you consider my short link doubtful, see

Re: [css-d] Element a is little bigger than inner img

2010-12-06 Thread Chetan Crasta
Also try this: img src=img/next_page.png alt=next page / ~Chetan On Mon, Dec 6, 2010 at 10:58 PM, Chetan Crasta chetancra...@gmail.com wrote: Please provide a link to the page so that we can check the code. ~Chetan On Mon, Dec 6, 2010 at 10:51 PM, Yu-Hsuan Lai rainco...@gmail.com wrote:

Re: [css-d] first-child pseudo-class on a class-level

2010-12-06 Thread Dave Solko
On Dec 5, 2010, at 11:18 PM, Philippe Wittenbergh wrote: On Dec 6, 2010, at 12:59 PM, Dave Solko wrote: I'm trying to apply :first-child to an element with a class. It only needs to work in safari (intranet). I'm using Joomla, so changing the html isn't really an option. Can it be done?

Re: [css-d] Element a is little bigger than inner img

2010-12-06 Thread Shawn Lawler
Yu-Hsuan, The extra space you're describing is likely the content space reserved in a inline element for typeface descenders (the bits of letters like 'y' and 'g' that dangle). An inline image I think is by default vertically aligned to the baseline of the inline content space (which is the

[css-d] Styling blog comments

2010-12-06 Thread Gabriele Romanato
Hi all! My 2 cents on the subject: http://onwebdev.blogspot.com/2010/12/css-styling-blog-comments.html HTH :-) http://www.css-zibaldone.com http://www.css-zibaldone.com/test/ (English) http://www.css-zibaldone.com/articles/ (English) http://onwebdev.blogspot.com/ (English)

Re: [css-d] Element a is little bigger than inner img

2010-12-06 Thread Chris F.A. Johnson
On Tue, 7 Dec 2010, Yu-Hsuan Lai wrote: My HTML is : --- a class=tool style=padding:0;border:0;margin:0 href=# img height=100% src=img/next_page.png alt=next page / /a --- I think that a should fill up with img, but in fact, img is smaller than a. Like this:http://ppt.cc/RqlC Can I

Re: [css-d] first-child pseudo-class on a class-level

2010-12-06 Thread Philippe Wittenbergh
On Dec 7, 2010, at 2:48 AM, Dave Solko wrote: Given the document structure above, maybe .description + .leading { background: red } ? Then perhaps I should rephrase the question. Is there any way, given the existing HTML to address the first div class=leading independently of the

Re: [css-d] How to 'unvisited' links?

2010-12-06 Thread David Hucklesby
On 12/6/10 7:16 AM, Tim Arnold wrote: Clearing your browser history will reset all your visited links. Other than that, you will either have to change the link, or remove the visited style from your css. -Tim On Mon, Dec 6, 2010 at 10:12 AM, Yu-Hsuan Lairainco...@gmail.com wrote: When I test

Re: [css-d] How to 'unvisited' links?

2010-12-06 Thread David Laakso
On 12/6/10 11:07 PM, David Hucklesby wrote: On 12/6/10 7:16 AM, Tim Arnold wrote: Clearing your browser history will reset all your visited links. Other than that, you will either have to change the link, or remove the visited style from your css. -Tim On Mon, Dec 6, 2010 at 10:12 AM,