[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

I have styled the h1,h2,h3,h4 for a table then pasted a header that refers to a style sheet.

Posted on 2013-05-17
4
Medium Priority
?
304 Views
Last Modified: 2013-05-17
This table is styled in the sheet referring to the h1to h4 tags.
table.NailTable
Now i have pasted a header that refers to an external style sheet with the same styles
This messes up the headers h1 to h4 tags.
I think i need to change the sheet styles so they only refer to table.
maybe something like
table.NailTable h1{ color:#000099;
      font:24px/22px Arial, Helvetica, sans-serif;
    font-weight: 600;
      text-align:center;
      }
would this be the best solution ?
The correct syntax ?
0
Comment
Question by:isnoend2001
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 27

Expert Comment

by:skullnobrains
ID: 39175497
basically, yes, if your h1 to h4 tags are inside table cells of the corresponding table(s)

then this is a little weird, but without seeing the code, it is pretty much difficult to provide better hints
0
 

Author Comment

by:isnoend2001
ID: 39175539
Thanks : skullnobrains
heres the page
http://roofgenius.com/test2.asp
0
 
LVL 27

Accepted Solution

by:
skullnobrains earned 2000 total points
ID: 39175640
there are not Hwhatever tags inside any .NailTable in the page you provided, so stating in the css files that they are in a table isa no-go

i do not see an external css included either

it is pretty unclear to me what you want and even more what does not work as expected

then as a general rule, the more precise a CSS selector is, the better priority it gets. selectors with an equivalent priority are processed in order so the last matching selector wins. you can also use the "!important" keyword if you need to override such behaviors
0
 

Author Closing Comment

by:isnoend2001
ID: 39175676
Thanks you found my problem forgot to add the link to my stylesheet
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question