The code is below. I dont put the <style> tags in the .css file, just the <cfinclude> file. both ways react the same though.

CSS CODE:

        body {
            margin: 10px;
            padding: 0px;
        }
        div#header {
            clear: both;
            height: 300px;

            padding: 1px;
        }
        div#left {
            float: left;
            width: 150px;

        }
        div#right {&auml;
3.0/
            float: right;
            width: 150px;

        }
        div#middle {
            padding: 0px 0px 0px 160px;
            margin: 5px;

        }
        div#footer {
            clear: both;

        }
        .border_1 {
            border-style:solid;
            border-width:thin;
            padding: 10px;
            border-color: #E8E8E8 #E8E8E8 #E8E8E8 #E8E8E8;
        }
CFM TEMPLATE USING THIS (in cfinclude format at the moment)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>Untitled</title>
<link rel="STYLESHEET" type="text/css" href=""> <cfinclude template="templates/tableless.cfm">

</head>

<body><div id="header">
<cfinclude template="templates/header.cfm">
</div>
<div id="left">
<cfinclude template="templates/imagemap.cfm">
</div>
<div id="right">
<form action="" method="post">
<p class="border_1">Sign up for our Newsletter<br>
<br>
Email Address<br>
<input type="text" name="email_address" size="17">

</p>
</form>
</div>

<div id="middle">
<div class=bold>...header info.....</div>
<p>
</p>
...plain text....
</div>
<div id="footer">...footer info.....</div>
</body>
</html>

>Phillip,
>
>Can you post the code of both the file you're containing the CSS
>inside of and the link / cfinclude code?
>
>Also, you're not putting the <style></style> tags in the .css file
>when you move it over, are you?
>
>-joe
>
>
>
>----- Original Message -----
>From: Phillip Perry <[EMAIL PROTECTED]>
>Date: Fri, 1 Oct 2004 19:57:00 -0400
>Subject: OT: CSS and tableless tables
>To: CF-Talk <[EMAIL PROTECTED]>
>
>Sorry for the OT post but i need help.
>
> The CSS I am using for a CSS table format works on 3 different browsers when
> the css is embedded in the individual pages, but when I do a <link> or
> <cfinclude> the formatting goes to hell. Is there any css experts out there
> that can explain what I'm doing wrong?
>
> Thanks
>
> Phillip Perry________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to