|
#1
|
||||
|
||||
|
CSS & AMS 5...
Any comments as to using CSS (Cascading Style Sheets) in AMS 5 would be appreciated. Such as, pluses and minuses of using such in AMS 5.
I just (finally got around to such) went live with CSS via two examples; one via Internal use and the second via link rel'ing Or, is it time to move to XML? Thank you in advance. I really appreciate the brainstorming sessions here! Very Sincerely, |
|
#2
|
||||
|
||||
|
Ah! That many dabble with CSS?
Well, for those that have an interest or have had at some point, I found that CSS (and Styles as a whole) seem to be pretty easy to code and then implement. At least so far the sailing has been pretty smooth. I like that you can have much more control over your HTML file's content in say a Web Object (or web page for that matter). Here is a sample CSS file I just did (remember, I am new, this is very ugly) CSS file code to give a visual to my post: Code:
img {
color:green;
border:dotted;
}
p {
color:Red;
font-size:200%;
}
h1 {font:"serif";font-weight:150%;background-image:url(C:\Documents and Settings\replacewithcurrentuser\Desktop\mccard.jpg)}
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> TEST </TITLE> <link rel="stylesheet" type="text/css" href="base.css" /> <p> A Paragraph! </p> <br> <br> <h1> <!-- Contains a Image. SEE: the file base.css --></h1> </HEAD> <BODY> <img src="C:\Documents and Settings\replacewithcurrentuser\Desktop\visa_logo.jpg" /> <img src="C:\Documents and Settings\replacewithcurrentuser\Desktop\mccard.jpg" /> </BODY> </HTML> Sincerely, |
|
#3
|
||||
|
||||
|
Intrigued,
I’m by no means an expert on CSS or even HTML for that matter. I do however see a couple of lines of code that have the possibility of proving problematic. h1 {font:"serif";font-weight:150%;background-image:url(C:\Documents and Settings\replacewithcurrentuser\Desktop\mccard.jpg )} and <img src="C:\Documents and Settings\replacewithcurrentuser\Desktop\visa_logo. jpg" /> <img src="C:\Documents and Settings\replacewithcurrentuser\Desktop\mccard.jpg " /> First, you have ‘spaces’ in your path. Each of these spaces should be replaced with %20 Second you are using absolute paths, rather than relative paths. Your pictures will show up fine on your machine, but they won’t show up if you upload it to a webserver. |
|
#4
|
||||
|
||||
|
The server side path I understood (this was just a sample on my hardrive), but, the %20 was something I was unaware of!
Thanks JimS! |
|
#5
|
||||
|
||||
. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Easy ActiveX/COM use for AMS | SRJ | AutoPlay Media Studio 5.0 | 1 | 09-07-2004 06:05 PM |
| Dual Format AMS autorun CD/VCD | tviman | AutoPlay Media Studio 5.0 | 9 | 04-12-2004 03:20 PM |
| Pop-up window in AMS 5 | Lee_Benson | AutoPlay Media Studio 5.0 | 9 | 12-25-2003 07:43 AM |
| Can you "embed" apps within AMS? | jbarr | AutoPlay Media Studio 4.0 | 6 | 12-01-2003 09:08 AM |
| (( Right Click Properties Version infomation | GraphiX2003 | AutoPlay Media Studio 4.0 | 5 | 02-10-2003 02:15 AM |
All times are GMT -6. The time now is 06:59 PM.








Linear Mode

