Go Back   Free website templates > Web Template Help > HTML - XHTML - CSS
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Join now to download all the free website templates or post on the forum. If you have never been on a forum before read the FAQ. It's quick, easy and free to join!
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-13-2009, 03:19 PM
Junior Member
 
Join Date: May 2009
Posts: 1
newheartrock is on a distinguished road
Default no images are seen with css

The template views great in dreamweaver, but i can not see the images when i post online, i checked my css settings they look good.

www.stcdonuts.com is the site
Reply With Quote
  #2 (permalink)  
Old 05-14-2009, 05:07 PM
ishkey's Avatar
Moderator
 
Join Date: Aug 2007
Location: North GA USA
Posts: 1,360
ishkey will become famous soon enough
Default

first of all you have a css file, which you should do your editing in not in the index.html file. you will need to read up on css.
Quote:
Multiple Styles Will Cascade Into One

Style sheets allow style information to be specified in many ways. Styles can be specified inside a single HTML element, inside the <head> element of an HTML page, or in an external CSS file. Even multiple external style sheets can be referenced inside a single HTML document.
Cascading Order

What style will be used when there is more than one style specified for an HTML element?

Generally speaking we can say that all the styles will "cascade" into a new "virtual" style sheet by the following rules, where number four has the highest priority:
Browser default
External style sheet
Internal style sheet (inside the <head> tag)
Inline style (inside an HTML element)

So, an inline style (inside an HTML element) has the highest priority, which means that it will override a style declared inside the <head> tag, in an external style sheet, or in a browser (a default value).

Note: If the external style sheet link is placed below the internal style sheet in HTML <head>, the external style sheet will override the internal style sheet.
Important - try to learn these 3 parts.
The CSS syntax is made up of three parts: a selector, a property and a value:

I have fixed your problem (stc.zip). Try to compare the index,html and style.css files and you will see where you went wrong. Keep the css file in the root directory where you store your html files. For some strange reason it just works when placed there.
Let us know how it goes and try to help someone esle if you can.
Attached Images
 
Attached Files
File Type: zip stc.zip (323.3 KB, 62 views)
__________________
RIF= Reading Is Fun - Understanding Funner
cleandeck - lawn mower undercoating and wilmargraphite - graphite lubricants
Reply With Quote
  #3 (permalink)  
Old 08-26-2009, 08:04 PM
Junior Member
 
Join Date: Aug 2009
Location: usa
Posts: 8
simon78 is on a distinguished road
Default

hey really moderator is good i will really say that mod of this website really help

Last edited by CovertPea; 08-27-2009 at 02:51 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:20 AM.



mouseover mouseover mouseover