Borders disappear when I copy template - help please

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
dirtywhitellama

Borders disappear when I copy template - help please

Post by dirtywhitellama »

Compare my home page, http://llama.hisbodylife.com/home/  to any of the other pages.  Home page is using a different template than the others.  I copied the template I had working nicely, and when I switched the home page to it, the borders on the menu system were gone.  (Then I added the news module and took out the sub menu and they are still gone.)  This happens any time I try to copy that template however.  Does anyone have any idea why?  The attached stylesheets appear to all be the same although in a different order.

My functional template came from copying one of the default templates, then copying each attached stylesheet and reattaching the new copies to my new template, and THEN making changes (just so I wouldn't lose any of the old information.)

Any ideas as to what would cause this would be appreciated.
dirtywhitellama

Re: Borders disappear when I copy template - help please

Post by dirtywhitellama »

That was in firefox -  in IE the borders appear everywhere, but aren't the same color. :/
hotaru
Forum Members
Forum Members
Posts: 79
Joined: Mon Apr 17, 2006 5:38 pm

Re: Borders disappear when I copy template - help please

Post by hotaru »

Perhaps the borders are being styled in more than one stylesheet? I've heard that if this is so, and the order of the stylesheets changes (like when you copy a template), the styles will be applied in a different order and may change the appearance.

Just a thought...  :-\
dirtywhitellama

Re: Borders disappear when I copy template - help please

Post by dirtywhitellama »

Well, I looked and I couldn't find more than one stylesheet that they would be styled in (unless giving the color of the border in one sheet and the size and type in another counts?) but when I reordered the stylesheets it works fine.  It doesnt look right in IE still (wrong color on the borders) but I won't worry about it for now.
dirtywhitellama

Re: Borders disappear when I copy template - help please

Post by dirtywhitellama »

The problem definitely is that Firefox doesn't like the border color in one place and the border size and style in another.... I guess depending on which is first, it either doesn't display borders, or displays borders in the color specified for text in the body tag.  Doesn't make sense to me but when I put all the specifications in the same place it works just fine.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Borders disappear when I copy template - help please

Post by Dr.CSS »

If you are talking about...

#something or .class {border: size1px typesolid color#000000 } yes it should have all 'calls' together.
Locked

Return to “Layout and Design (CSS & HTML)”