![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi I`m new to web design so take it easy on me. I am working on my personal website listed in my sig below. My problem is I have a 3 column layout, left column navigation, center main content, right column is site feed logos, contact webmaster, page validation logo`s. My problem is with the left and right columns in IE. I use a PHP include for the content of the left and right columns but to make the pages valid I used <object> around the content, which worked fine in Firefox but now IE. What tag should I use for this PHP include (mainly a list of links) to a: work in both IE and Firefox b: validate. |
|
At the moment I have no tag around the page that is called . it works in both IE and Firefox but isn't valid. (according to w3c). |
#3
| |||
| |||
|
|
Justin mumbled the following on 03/05/2005 13:44: Hi I`m new to web design so take it easy on me. I am working on my personal website listed in my sig below. My problem is I have a 3 column layout, left column navigation, center main content, right column is site feed logos, contact webmaster, page validation logo`s. My problem is with the left and right columns in IE. I use a PHP include for the content of the left and right columns but to make the pages valid I used <object> around the content, which worked fine in Firefox but now IE. What tag should I use for this PHP include (mainly a list of links) to a: work in both IE and Firefox b: validate. Not sure that's quite the question you mean. As long as the included page is valid HTML when it's inserted into the main page, then it's fine. You don't need <object> in there at all. Simply include with: ?php include 'left.php'; ? ...though if your host has the same openbase_dir restrictions as mine, you'll need: ?php include $_SERVER['DOCUMENT_ROOT'].'/left.php'; ? At the moment I have no tag around the page that is called . it works in both IE and Firefox but isn't valid. (according to w3c). Then follow the instructions at the validation site as to what's wrong, and learn how to fix it... Example: div id="leftcontent"><br/ p align="center" p align="center"><a href="http://1and1.co.uk/xml/init/?k_id=7174813" target="_blank" /a></p ul ><li><p align="left"><a href="../index.php">Home.</a></p></li li><p align="left"><a href="../me.php">Me.</a></p></li li><p align="left"><a href="../blog.php">My Blogger Blog.</a></p></li li><p align="left"><a href="../fblog.php">My Flickr Photo Blog</a></p></li li><p align="left"><a href="../boinc.php">Boinc.</a></p></li li><p align="left"><a href="../html.php">HTML and Web.</a></p></li li><p align="left"><a href="../animation.php">Animation.</a></p></li></ul /p /div ...can be cut down to... div id="leftcontent" ul id="leftnav" li><a href="/">Home.</a></li li><a href="/me.php">Me.</a></li li><a href="/blog.php">My Blogger Blog.</a></li li><a href="/fblog.php">My Flickr Photo Blog</a></li li><a href="/boinc.php">Boinc.</a></li li><a href="/html.php">HTML and Web.</a></li li><a href="/animation.php">Animation.</a></li /ul /div ...and provides sufficient hooks to hang your CSS styling on. |
![]() |
| Thread Tools | |
| Display Modes | |
| |