[css-d] Creating inner border on hover

2008-04-02 Thread Marcelo de Moraes Serpa
Hello, http://201.51.69.207:8081/fotos Take a look at the thumbs. Hover the mouse over them. You can see a inner border is created. However, it isn't yet the way I wanted. Becouse of the margin rule, the img element jumps a pixel towards the top. I want something like the effect in this page:

Re: [css-d] Inherited color property not working

2008-02-18 Thread Marcelo de Moraes Serpa
Sorry, here's the url: http://datatransp.dyndns.org:8070/datatransp/suporte-downloads - the left portlet, hover the mouse and see. Cheers, Marcelo. On Feb 17, 2008 2:22 PM, Jukka K. Korpela [EMAIL PROTECTED] wrote: Marcelo de Moraes Serpa wrote: I have the following piece of HTML. It's

Re: [css-d] Inherited color property not working

2008-02-18 Thread Marcelo de Moraes Serpa
. Korpela [EMAIL PROTECTED] wrote: Marcelo de Moraes Serpa wrote: Sorry, here's the url: http://datatransp.dyndns.org:8070/datatransp/suporte-downloads - the left portlet, hover the mouse and see. No, I cannot see any particular problematic effect (on IE 7). I suppose portlet means the two links

[css-d] Inherited color property not working

2008-02-17 Thread Marcelo de Moraes Serpa
Hello list, I have the following piece of HTML. The li has the following class applied: navTreeItem: li class=navTreeItem div a href=http://datatransp.dyndns.org:8070/datatransp/suporte-downloads/downloads; class=state-published navTreeFolderish title= img

[css-d] What tag to use for the company's slogan?

2007-10-27 Thread Marcelo de Moraes Serpa
I have a website that has a header with a Title and a slogan something like Company - Your road to success. I've put Company inside a h1 and used CSS to text-indent:- should I put the slogan inside the h1 as well? I want to keep semantics good enough. Thanks, Marcelo.

[css-d] Are table-based layouts still needed

2007-09-02 Thread Marcelo de Moraes Serpa
Or, do table-based layouts still have a place on the web? There will definitly be a lot of table-based layouts for many times to come. Not everyone has the knowledge nor is obligated to use CSS-based layouts. But from a web professional standpoint, do you think table-based layouts still need to

[css-d] Underlining back a text inside an a

2007-08-30 Thread Marcelo de Moraes Serpa
Hello list, I'm creating a horizontal icon-based menu. Each item has an icon and a legend. Here's the XHTML: div style=padding-left:10px ul class=horizontal_list lia href=editdivimg alt=User_48 src=/images/icons/user_48.png //divdivEdit Profile/div/a/li lia href=checkdivimg alt=Okdate_48

[css-d] One CSS file for each browser (IE/Firefox)

2007-03-04 Thread Marcelo de Moraes Serpa
Hi list, I'm just starting tableless layout design. I'm on my first pure-css layout project. While the concept is easy and the workflow in general is kind of easier than table layouts, I'm getting really frustraded by the differences I'm getting on my lay when I test it on both FF and IE. What

[css-d] input.text selector not working

2006-12-08 Thread Marcelo de Moraes Serpa
Hi, For some unknown reason, when I try to select all the text input fields using this selector: input.text { ... } It doesn't work... I had to do use attribute selectors: input[type=text] {... } I'm testing on FF2. What could be wrong ? Thanks, Marcelo.

[css-d] Should I use cascaded ids for nested divs?

2006-12-07 Thread Marcelo de Moraes Serpa
Hello! I'm just starting with CSS (currently reading CSS Mastery, quite good book btw :)) and got stuck on the following: Let's say I've got a header div and a branding div. The branding div is a child of header (it will hold a logo of the website). Currently, I'm doing this the following way:

[css-d] Change the :hover, :link, :visited and :active of a specific element based ot its ID

2006-10-25 Thread Marcelo de Moraes Serpa
Hello list! I need to change these css attributes of only one element on the page, a exceptionla link that must behave differently. It is. However, I can't find a way to only select it using the pseudo-classes metioned, I tried: A:hover,#myelement { color: #FFF } But every other a element on