| Web Design and Hosting Creating sites, scripting, and hosting discussions. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Aug 22, 2007
Location: London,UK
Posts: 180
![]() Mac Specs: 13.3" MacBook Black
|
|
| QUOTE Thanks | |
![]() Member Since: Oct 26, 2006
Posts: 467
![]() |
I haven't used this program but I am going to take a shot in the dark.
Did you create a ".css" file in the program? In order for the CSS to show up correctly you need to link the .css file in the HTML file. Example: <link href="/CSS/global.css" rel="stylesheet" type="text/css" media="screen"> That would be in-between the <head> and </head> tags in your HTML document. MacBook Pro | 2.33 GHz 3 GB Ram 200 GB HD | Best Choice Ever For A Laptop | 8 GB iPod Touch |
| QUOTE Thanks | |
![]() Member Since: Aug 22, 2007
Location: London,UK
Posts: 180
![]() Mac Specs: 13.3" MacBook Black
|
|
| QUOTE Thanks | |
![]() Member Since: Oct 26, 2006
Posts: 467
![]() |
Quote:
I have seen people on this forum talk about Coda a lot. http://www.panic.com/coda/ MacBook Pro | 2.33 GHz 3 GB Ram 200 GB HD | Best Choice Ever For A Laptop | 8 GB iPod Touch |
|
| QUOTE Thanks | ||
![]() Member Since: Feb 02, 2004
Location: PA
Posts: 12,455
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: MacBook
|
Quote:
Are you trying to create an inline style or a linked stylesheet? If it is linked, then the code between your HEAD tags should be : <link rel="stylesheet" type="text/css" href="stylesheetneame.css" /> I am not understanding what you mean by "I have created a new style, I save it, then export to the HTML file." If you are saving a stylesheet, it should have a ".css" extension... not an html file. If you are putting it inline, then you shouldn't have to export anything. __________________________________________________ Posting and YOU|Forum Community Guidelines|The Apple Product Cycle|Forum Courtesy mac: a waterproof raincoat made of rubberized fabric MAC: a data communication protocol sub-layer, also known as the Media Access Control Mac: a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc.
|
|
| QUOTE Thanks | ||
![]() Member Since: Aug 22, 2007
Location: London,UK
Posts: 180
![]() Mac Specs: 13.3" MacBook Black
|
Well there is a function about exporting the .css file to the already created .html file. Well that doesn't work.........................................
Here is my code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN"> <html> <head> <title>My Website</title> <link rel="stylesheet" type="text/css" href="mystyle.css" /> </head> <body> Hi. </body> </html> mypagestyle { color: #ff0028; font: medium "Lucida Grande", Lucida, Verdana, sans-serif; text-align: center; background-color: #63ff0e; } WHY DOES IT NOT WORK!!! ARGH!!!!!!! |
| QUOTE Thanks | |
![]() Member Since: Oct 26, 2006
Posts: 467
![]() |
MacBook Pro | 2.33 GHz 3 GB Ram 200 GB HD | Best Choice Ever For A Laptop | 8 GB iPod Touch |
| QUOTE Thanks | |
![]() Member Since: Aug 22, 2007
Location: London,UK
Posts: 180
![]() Mac Specs: 13.3" MacBook Black
|
|
| QUOTE Thanks | |
![]() Member Since: Feb 02, 2004
Location: PA
Posts: 12,455
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: MacBook
|
Quote:
Also, if "mypagestyle" is meant to be a class, then there should be a period at the beginning in your code, so it should read ".mypagestyle" That code also shows a linked stylesheet. Be sure to place that CSS sheet in your page's root directory (at least according to the way it is written in what you posted). __________________________________________________ Posting and YOU|Forum Community Guidelines|The Apple Product Cycle|Forum Courtesy mac: a waterproof raincoat made of rubberized fabric MAC: a data communication protocol sub-layer, also known as the Media Access Control Mac: a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc.
Last edited by D3v1L80Y; 10-04-2007 at 03:49 PM. |
|
| QUOTE Thanks | ||
![]() Member Since: Aug 22, 2007
Location: London,UK
Posts: 180
![]() Mac Specs: 13.3" MacBook Black
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">
<html> <head> <link rel="mystyle" type="text/css" href="mystyle.css" /> </head> <body> Hello, again. </body> </html> See, the code is fine, and now it won't work. What is wrong? I saved the mypage.css file in the sites folder, and so is this page. Please help! |
| QUOTE Thanks | |
![]() Member Since: Aug 22, 2007
Location: London,UK
Posts: 180
![]() Mac Specs: 13.3" MacBook Black
|
|
| QUOTE Thanks | |
![]() Member Since: Aug 22, 2007
Location: London,UK
Posts: 180
![]() Mac Specs: 13.3" MacBook Black
|
|
| QUOTE Thanks | |
![]() Member Since: Feb 19, 2007
Location: Atlanta
Posts: 350
![]() Mac Specs: 15" MBP 2.2Ghz C2D 4GB RAM 120GB HDD
|
This is taken from a website of mine:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html lang="en"> <head> <title>Adventure Racing and Multisport in the Southeast United States</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="description" content="Checkpoint Adventures, home to adventure racing in the Southeast." /> <meta name="keywords" content="Checkpoint Adventures, adventure race, Adventure24, Adventure24 AR, Gorge Games, MSOQ, AR World Championship, adventure racing, multisport, Beast of the East, Eco Challenge, Southern Traverse, ESPN X Games, AR, adventure gear, adventure racing gear, AEAR, endorphin fix, EMA, adventure racing teams, SPQ, Primal Quest, Subaru Primal Quest, Georgia, adventure racing in GA, adventure racing in tn, georgia, tennessee, alabama, adventure racing in alabama" /> <meta name="robots" content="all" /> <meta name="distribution" content="global" /> <!-- CSS --> <link rel="stylesheet" href="cpa_llc.css" type="text/css"/> <link rel="stylesheet" href="lightbox.css" type="text/css" media="screen" /> <!-- JAVASCRIPT --> <script type="text/javascript" src="scripts/menu.js"></script> <script type="text/javascript" src="scripts/prototype.js"></script> <script type="text/javascript" src="scripts/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="scripts/lightbox.js"></script> </head> <body> It sounds like you aren't very familar with html or css. CSSEdit, from my limited experience (also using the trail right now), is not a beginner program. Perhaps it would be more beneficial to you to do some html and css tutorial reading. Here's a good site for information: http://www.w3schools.com/css/css_howto.asp Good luck! Apple Mac HQ - Apple/Mac News, Reviews, and More |
| QUOTE Thanks | |
![]() Member Since: Feb 20, 2005
Location: Harrisburg, PA
Posts: 51
![]() Mac Specs: Macbook Pro: 15" screen, 2.0 MHz DuoCore, 80 Gig HD, 2G RAM
|
Quote:
CSS and html can be frustrating but I assure that your code is not perfect as you suggest and your mac is not the issue. |
|
| QUOTE Thanks | ||
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
All times are GMT -4. The time now is 05:29 PM.
Powered by vBulletin