HTML and CSS
By iGimp01
@iGimp01 (188)
May 15, 2010 6:03am CST
I have a dreamweaver template which i have edited and i am ready to upload it to webs.com but how do i add the style.css on, i have copied and pasted index.html into it but half the page is missing (the part on style.css) how would i upload that aswell.
Thanks
2 responses
@boogerman (1544)
• Philippines
15 May 10
Hello there! You can put the content of your CSS file on the main HTML document. In that way, you only have to upload a single file instead of separate files. There are two ways of doing that but the easier way among the two is by putting the contents of CSS file into the head tag of HTML document, another one is by breaking the CSS and inserting it as attributes to every tag, this is for fixed pages only, the first one is better because it is easier to modify. The concept of making separate documents for HTML and CSS and by linking the two is just to determine which is which so it can be easier to fix. Have a nice day!
@boogerman (1544)
• Philippines
15 May 10
I checked your site and I noticed that the contents of your CSS appeared only as text on top of the page. Did you inserted the style tag on the head tag? I can't post HTML tags in proper form but it appears like this.
head
style type="text/css"
(contents of CSS here)
/style
Just fix the opening and closing tags. If you have done that already, maybe the hosting site where you uploaded the file does not support that style.