I created a web site using Frontpage.
Frontpage makes the code a complete mess, though.
My web site looks alright in IE - Everything is aligned correctly
But in Firefox it look hideous. My bottom line question is,
How do I go back into frontpage and design my website
in a firefox browser, and then add conditional comments?
Where do I add the conditional comments in the line of code?
Eh, even just a nice little link to a website that would
elaborate on how to go about this process would be so helpful.

Ps: If you can't tell, I've only been learning this for about a week :(
But I'm quick learner if I have the right people teaching me,
So please try not to discourage. I really appreciate it!!

I created a web site using Frontpage.
Frontpage makes the code a complete mess, though.
My web site looks alright in IE - Everything is aligned correctly
But in Firefox it look hideous. My bottom line question is,
How do I go back into frontpage and design my website
in a firefox browser, and then add conditional comments?
Where do I add the conditional comments in the line of code?
Eh, even just a nice little link to a website that would
elaborate on how to go about this process would be so helpful.

Ps: If you can't tell, I've only been learning this for about a week :(
But I'm quick learner if I have the right people teaching me,
So please try not to discourage. I really appreciate it!!

hey

your problem is your using frontpage, ie and frontpage are both microsoft so thats why it works on ie. in the web industry you code for firefox and safari and tweak for ie if necessary but using conditional stylesheets and hacks is bad practice. post your code or a link to your site and well get you started.

the code produced by frontpage looks hideous in IE too,
at any screen resolution other than the one it was developed at, or in a part screen window at the same resolution (try it).
all the fixed pixel divs and tables do not scale, do not adjust,
not the sort of thing to put out on the web as a first contact point.
would be better to use another page layout program.
even notepad and use browsers to preview the page,
If you must use frontpage don't wysiwyg.
use html view and change all the pixel measurements to something that will scale ems or %

Frontpage is MS,
it will do the job, but not well or fast, and not without a lot of tweaking,
the only benefit, it comes 'free' in Office

the code produced by frontpage looks hideous in IE too,
at any screen resolution other than the one it was developed at, or in a part screen window at the same resolution (try it).
all the fixed pixel divs and tables do not scale, do not adjust,
not the sort of thing to put out on the web as a first contact point.
would be better to use another page layout program.
even notepad and use browsers to preview the page,
If you must use frontpage don't wysiwyg.
use html view and change all the pixel measurements to something that will scale ems or %

Frontpage is MS,
it will do the job, but not well or fast, and not without a lot of tweaking,
the only benefit, it comes 'free' in Office

em and %'s arent good to use unless your site is completely expandable which is not common. fixed width divs are generally used.

hey

your problem is your using frontpage, ie and frontpage are both microsoft so thats why it works on ie. in the web industry you code for firefox and safari and tweak for ie if necessary but using conditional stylesheets and hacks is bad practice. post your code or a link to your site and well get you started.

Www.allgreenedup.net <-
I can give you the code if you perfer.
Which programs should I use to code it for firefox?
Why are conditional comments bad practice?

Why are conditional comments bad practice?

because the browser that requires the conditional comments is also changing, your site becomes invisible.

WYSIWYG editors, any of them, use so many kludges to adjust positioning, that they never work right.
Its usually easier faster and more standards compliant, to use a text editor to type what you want, and the view mode only to make sure its what you meant to type.

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<style>
<!--
-->
</style>
<meta http-equiv="Page-Enter" content="blendTrans(Duration=1.0)">
<meta http-equiv="Site-Exit" content="blendTrans(Duration=1.0)">

<link rel="File-List" href="index_files/filelist.xml">


<script type="text/javascript" language="JavaScript1.2" src="_pgtres/stmenu.js"></script>
<!--[if !mso]>
<style>
v\:*         { behavior: url(#default#VML) }
o\:*         { behavior: url(#default#VML) }
.shape       { behavior: url(#default#VML) }
</style>
<![endif]--><!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
</head>

<body background="GOD1.jpg" marginwidth="1199" marginheight="965">
<script type="text/javascript" language="JavaScript1.2" src="stmenu.js"></script>
</body>

</html>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="left">&nbsp;</p>
<table border="0" width="1041" height="532">
    <tr>
        <td height="75" width="279">
        <div style="position: absolute; width: 873px; height: 5px; z-index: 1; left: 170px; top: 194px" id="layer1">
&nbsp;<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu57e9",700,"","blank.gif",0,"","",1,0,250,0,1000,1,0,0,"","100%",67108897,0,1,2,"hand","hand",""],this);
stm_bp("p0",[0,4,0,0,0,1,16,0,100,"",-2,"",-2,50,0,0,"#999999","#000000","",3,0,0,"#000000"]);
stm_ai("p0i0",[0,"   Home","","",-1,-1,0,"index.htm","_self","","","towgreen-r.gif","towgreen-r.gif",16,9,0,"","",0,0,0,0,1,"#FFFFF7",1,"#B5BED6",1,"1ab2.jpg","text_top_bckg.jpg",3,0,1,5,"#000000","#000000","#FFFFFF","#FFFFFF","bold 10pt Verdana","bold 10pt Verdana",0,0],121,41);
stm_aix("p0i1","p0i0",[0," About Us!","","",-1,-1,0,"aboutus.htm"],121,41);
stm_aix("p0i2","p0i0",[0,"Contact Us!","","",-1,-1,0,"contactus.htm"],121,41);
stm_aix("p0i3","p0i0",[0,"Services","","",-1,-1,0,"services.htm","_self","","","towgreen-r.gif","towgreen-r.gif",-1,-1,0,"","",0,0,0,0,1,"#FFFFF7",1,"#B5BED6",1,"1ab2.jpg","text_top_bckg.jpg",3,0,1,5,"#000000","#000000","#FFFFFF","#FFFFFF","bold 9pt Verdana","bold 9pt Verdana"],121,41);
stm_aix("p0i4","p0i3",[0,"Eco-Friendly","","",-1,-1,0,"ecofriendlytech.htm"],121,41);
stm_aix("p0i5","p0i3",[0,"Products","","",-1,-1,0,"products.htm","_self","","","towgreen-r.gif","towgreen-r.gif",16,9,0,"","",0,0,0,0,1,"#FFFFF7",1,"#B5BED6",1,"1ab2.jpg","text_top_bckg.jpg",3,0,1,6],121,41);
stm_ep();
stm_em();
//-->
</script>
</div>
&nbsp;</td>
        <td height="77" width="697">&nbsp;</td>
        <td height="77" width="50">&nbsp;</td>
    </tr>
    <tr>
        <td height="447" width="279">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <img border="0" src="matrix-05.gif" width="8" height="363"><p>&nbsp;</p>
        <p>&nbsp;</td>
        <td height="447" width="697">
        <!--[if gte vml 1]><v:shapetype id="_x0000_t136"
 coordsize="21600,21600" o:spt="136" adj="10800" path="m@7,l@8,m@5,21600l@6,21600e">
 <v:formulas>
  <v:f eqn="sum #0 0 10800"/>
  <v:f eqn="prod #0 2 1"/>
  <v:f eqn="sum 21600 0 @1"/>
  <v:f eqn="sum 0 0 @2"/>
  <v:f eqn="sum 21600 0 @3"/>
  <v:f eqn="if @0 @3 0"/>
  <v:f eqn="if @0 21600 @1"/>
  <v:f eqn="if @0 0 @2"/>
  <v:f eqn="if @0 @4 21600"/>
  <v:f eqn="mid @5 @6"/>
  <v:f eqn="mid @8 @5"/>
  <v:f eqn="mid @7 @8"/>
  <v:f eqn="mid @6 @7"/>
  <v:f eqn="sum @6 0 @5"/>
 </v:formulas>
 <v:path textpathok="t" o:connecttype="custom" o:connectlocs="@9,0;@10,10800;@11,21600;@12,10800"
  o:connectangles="270,180,90,0"/>
 <v:textpath on="t" fitshape="t"/>
 <v:handles>
  <v:h position="#0,bottomRight" xrange="6629,14971"/>
 </v:handles>
 <o:lock v:ext="edit" text="t" shapetype="t"/>
</v:shapetype><v:shape id="_x0000_s1025" type="#_x0000_t136" alt="Welcome!"
 style='width:66pt;height:11.25pt' stroked="f">
 <v:fill color2="#aaa" type="gradient"/>
 <v:shadow on="t" color="#4d4d4d" opacity="52429f" offset=",3pt"/>
 <v:textpath style='font-family:"Calibri";font-size:16pt;v-text-spacing:78650f;
  v-text-kern:t' trim="t" fitpath="t" string="Welcome!"/>
</v:shape><![endif]--><![if !vml]><img border=0 width=91 height=19
src="index_files/image001.gif" alt="Welcome!" v:shapes="_x0000_s1025"><![endif]><br>
        <br>
        <font size="4" color="#C0C0C0">All Greened Up</font><font color="#C0C0C0"> 
        provides you with top quality solution sets for your small business at 
        incomparable prices!<br>
        We operate as fast &amp; efficient technicians who continue to provide you 
        with honest customer service along the way. <br>
        Our team has more than 2 decades of experience in the&nbsp; LAN + WAN 
        design, installation &amp; service.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
        </font><br>
        <font size="4" color="#C0C0C0">Our company</font><font size="5" color="#FFFFFF">
        </font><font color="#C0C0C0">consistently contributes to the new development 
        of services and products in the data networking &amp; telecommunication industries.&nbsp;
        Are services are the leading choice for hundreds of southern California 
        based companies and our products are sold and supported world wide.<br>
        &nbsp;</font><p><font size="4" color="#C0C0C0">With our services</font><font color="#C0C0C0"> 
        you are able to seamlessly connect &amp; network your communications 
        needs to 
        anywhere in the world securely and with ease.&nbsp;
        So allow us take care of your full communication requirements, While you 
        get the rewards!!<br>
&nbsp;</font></p>
        <p align="center">&nbsp;</p>
        <p align="center">&nbsp;</p>
        <p align="center">&nbsp;</p>
        </td>
        <td height="447" width="50">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <img border="0" src="matrix-05.gif" width="6" height="345"><p>&nbsp;</p>
        <p>&nbsp;</td>
    </tr>
</table>

is utter garbage, looking at just the last 10 lines, in many browsers(all except IE) measurements without dimension are discarded <td height=447>is just <td> and the cell height adjusts to fit the contents, the layout ceases to exist,
In the code above, every element has some style or dimension added, done in a more standard compliant manner, the styles are defined in an external stylesheet and cached and only downloaded once, , or between <style></style> tags in the head, not dozens of times for every page.
<p align="center">&nbsp;</p> =<p></p>
tables are only used for tables, sets of numbers, they take too long to load.
In line 1: MICROSOFT schema - you wonder why it wont work right ion any non-MS browser, its coded not to.

I use notepad2 (a notepad replacement with code prompting syntax highlighting and error checking included to write the page, and have thumbdrive versions of Firefox Opera Maxthon safari avant installed in a sandbox to get the appearance right in as many browsers as possible. Its turned out much faster than debugging WYSIWYG crap code. you just tab through the browsers and refresh the page after edits to the source.

My kids use pagebreeze http://www.formbreeze.com/freehtmleditor/formbuilder_editor.htm
a combo wysiwyg/text editor that produces compliant code

hope it helps

how about trying using dreamweaver?

I use notepad and write my own code.

The problems between the nonstandard IE and the standards-obeying browsers like Firefox are not easily fixed by using conditional styles.

They are easily fixed by not using size styles (width, height) in the same tags or styles with nonzero surrounding styles (margin, border, padding). IE nests styles these in the wrong order when applying them to the same tag.

The trick is nesting two tags, one with the size styles, and one with the surrounding styles, in the order you want them.

Here is a page with some tips for making compatible web pages.:

http://geocities.com/midimagic@sbcglobal.net/webtips.htm

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.