Loocee
Feb 20 2006, 04:32 PM
| | Originally this topic was asking for testing of my page in Internet explorer but someone on another forum got there first, but I still need help! I've made a page using absolute positioning and php, using percentages for positions so that it should suit all screen resolutions. However on internet explorer some of the text on the right can't be seen and is off the page, whereas in every other browser it's perfect. What can I do to make it show up properly in internet Explorer as well as all the other ones?
Here's the link so you can see what I mean by the text on the right not showing properly - http://www.fillyourglass.trap17.com |
Reply
jlhaslip
Feb 20 2006, 05:02 PM
Link seems to have vanished off the Topic? Please post a link.
Reply
jlhaslip
Feb 20 2006, 07:52 PM
I had a quick look and the following two things will need attention. First, there is no DTD (Document Type Declaration) It should be right up at the top of the page and tells the browser what parsing system to use. !Important, especially when you are having difficulties on a page. Second, there is an extra Head and Body tag mid-way down the page. Just above the misplaced text section. Insert a DTD (I would reccomend an HTML 4 Transitional DTD, because there are things in there which will not xhtml standards, such as the br tags not being closed.) and remove the head and body tags, then post back here when that is done. These may not (probably won't) fix the problems, but it will make it easier to help you out. Also, I'll move this topic to the HTML Forum.
Reply
Tyssen
Feb 20 2006, 10:16 PM
QUOTE(Loocee @ Feb 21 2006, 02:32 AM)  I've made a page using absolute positioning and php, using percentages for positions so that it should suit all screen resolutions.
Using absolute positioning for laying out large blocks of content (ie columns etc.) rarely makes for a design that stands up in all browsers, screen resolutions and text sizes.
Reply
Loocee
Feb 21 2006, 12:38 PM
Right, I'll add the DTD later when I'm home for more than half an hour, thanks for that! Also the html and head tags half way down the page are because I'm using PHP includes to include 3 separate documents into the page (as an alternative to horrible frames) so when you view the source it shows the html from all the three documents. If you can suggest an alternative to absolute positioning which will do roughly the same thing, I'd be happy to give it a go. I tried a few other methods but they jumbled up my PHP includes to generally made the page look a mess and absolute positioning was the only thing that would make the page do what I want. For the time being I've put that layout up because I've sorted the problem and it hopefully looks ok in Internet Explorer now!
Reply
jlhaslip
Feb 21 2006, 03:43 PM
Right. Can the php scripts be modded so that the 'included' files don't write the extra tags? Or, the file which is 'included' does not have to be an 'html' file. They can be 'text', so if you remove the unwanted tags from the 'included' 'html' file and save them as 'text' (txt) files, the php script won't write the head and body tags into the php-generated html page which gets sent to the Browser. Then mod the source code to include 'thispage.txt' instead of 'thispage.html' See also: http://www.trap17.com/forums/index.php?s=&...ndpost&p=229535
Reply
Loocee
Feb 21 2006, 04:51 PM
Ok, I did that, most of my files were .txt anyway but hadn't realised that I didn't need all the head and html tags. I tried putting in a transitional document type declaration but it makes all my text larger and underlined (like it's all a link-for example when i hover over the links such as the google ads, the lines disappear) so where is this problem? Is it to do with my style sheet or have I just not closed a link tag properly somewhere? (I've taken it off temporarily but might make another test page and play around with it.) The site is looking exactly how I want it but I understand that this DTD is important. I'm beginning to feel really crap about the whole thing now, my coding is obviously rubbish! I'm really sorry for all the trouble! Edited to add: I made a test page with the DTD on it to show you what it looks like when that's on. Other than the text size, it's fine until you move the cursor onto the page and all the text (or php stuff?) gets underlined. This time, this only happens in Firefox and is not a problem in Internet Explorer or Safari. http://www.fillyourglass.trap17.com/testing.php
Reply
jlhaslip
Feb 21 2006, 06:09 PM
Tyssen
Feb 22 2006, 12:31 AM
Remove all the inline styling and add it to an external stylesheet. You don't need to use any absolute positioning for your layout. 1. Put your header first. 2. Create a <div> for your left column, give it a width and float it left. 3. For your main column give it a left-margin wider than the width of your left column. That's all you have to do.
Reply
rvovk
Mar 3 2006, 06:36 PM
Yeap header and declaration would be solution in your case. But in your case you are forcing Internet explorer to work in Quirck Mode. Try to learn about this at http://www.alistapart.com
Reply
Loocee
Mar 4 2006, 11:10 AM
Ok thanks everyone! At the moment I'm very busy with other work, but when I find the time I'll have another mess around and have ago at changing all those little bits I've done wrong.
Reply
Similar Topics
Keywords : problems, webpage, positioning, internet, explorer
- How To Make Form Nested In Internet Explorer ?
Nested form in IE (2)
Website Problems Please Help
Unwanted gap between the welcome bar and flash. (6) I just set up this website, none of the links are in working condition yet. This is mainly because
im trying to get rid of this anoyying gab in between my flash object and my welcome bar (its the
small dark grey/brownish gap). Does anyone know exactly how to fix this without messing anything
else up vis changing the code or possibly even the size of the flash? Thanks. Here is the website:
http://www.childrenofconan.trap17.com/ Moved to html section in anticipation of that being the
correct Forum ....
Ie 6 Conditional Statement Problems
Wont Work (3) CODE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head> <title>Home</title> <meta
http-equiv="Content-Type" content="text/html; charset=utf-8"/> <link
rel="stylesheet" type="text/css" href="style.css" />
<!--[if IE 6]> <link rel="styl....
Project Digital Signage
advertising media through internet (1) Introduction to Digital Signage Project and Discussion Digital Signage is becoming the next
advertising phenomenon from yesteryears of newspaper and TV advertisements. Digital Signage can
captivate an audience in closed quarters with effective, colorful advertising media (with or without
sound) in places where people "have to" watch. These ideal places are in hotel lobbies, elevators,
waiting rooms, service lines--supermarket checkout line, or anywhere people would stand still for
few moments. The principle is to do nothing but advertising. Las Vegas airport termin....
Menu Errors In Internet Explorer
(4) I am not sure if this is the correct section, but this is related to HTML. I have some menus at the
top of my forum, which work perfectly in Firefox. But my members started complaining that they were
not working correctly, and when I tested it in Internet Explorer, I found that only two of the menus
show up, and the others show up as plain text below. Here is a screenshot of what the menus look
like in the two browsers: I have thought of something though. The HTML i used for my menus was
the only code I could find for to make some menus. But I noticed that this forum....
Help With Css/html Layout
Horizontal List Problems (5) I can't figure out why this horizontal list isnt working. Underneath my banner is supposed to
be a green gradient bar with a list of links in the center of the page. The links are all the way
to the left and are really small. The banner is also overlapping the list for some reason. This is
my current layout(don't worry, I'm not trying to advertise).
http://www.stormgaming.net/stormcreations/ This is my CSS file
http://www.stormgaming.net/stormcreations/storm.css Thanks in advance for any help.....
Website Deployment Problems
(3) Hello, I have developed a website that is specific to IE. The website looks great on my local
machine. I then move it to my production environment. For some reason, the website now looks
different when I view it from the production server. The strange thing is... I am using the same
browser. I always believed that HTML was downloaded to the client and then it was up to the browser
to render it. Considering I am viewing the webpage using the same browser from my machine... I
should have received the same thing. Which lead me to believe that I didn't upload it prop....
Making Html For Internet Explorer Compatible With
(3) I need some serious help. My website looks fine in Internet Explorer because I previewed it in IE
when I made it. The only problem is that in FireFox it looks all messed up. I need help or a
tutorial to make my site look the same in both browsers. If anyone can help me send me a PM or just
post here. Click Here to view my site and see the difference. ....
Making A Refresh Link On Your Website.
refresh local webpage (16) /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> post it on ur website
CODE <a href="javascript:this.location.reload();" style="color:
#000000; font-weight: normal">refresh</a> It can refresh local webpage. U
can add it at ur forum so that each topic u are reading can be refresh easily. If ur website
return to homepage after pressing I.E. refresh button, then u must need this coding. /cool.gif'
border='0' style='vertical-align:middle' alt='cool.gif' /> Beacus visitors only w....
Div Layout Problems
table in div not shrinking (5) Hey everyone. I am having an issue on one of my pages where the table inside my middle section of my
layout will not continue to shrink if the browser window is shrunk. AKA, i get a slider bar on the
bottom instead of things just overlapping. Below is the code for the page along with my style sheet.
If you want to see for yourself the problem just go here: Final Fantasy Fanatics - FF7 - Armor .
Armor.php CODE <?php session_start(); include './../db_connect.php';
include './../member_class.php'; include './../news_class.php&....
Shtml Page With Flash Loading Problems
anyone have problems with shtml (1) Hey, I created this site http://www.markus252.com . Had to use .shtml extensions on the pages so I
could have included, his server isn't php enabled and for some reason some people aren't
seeing the two flash elements on the page. Not all computers are having this problem, just some. The
page keeps saying that there 2 elements left to load(the two flash elements). I have no clue why? I
had people download the lastest flash player and they all can see the files when i send them the
direct link to them but the flash just won't load on the page. *Anyone else h....
Pocket Internet Explorer
(1) Hello, I have a webpage that allows a user to upload a picture to the site. I know all my users are
running at least internet explorer 6.1 and it works like a charm on desktop units. We are trying to
roll out the samsung i-700 to our field agents for taking pictures and uploading them to the site
while in the field. The device accesses the site with no problems, but where the input field for the
picture is, it is gone. I looked on the microsoft website and it says that Pocket Internet Explorer
doesn't support Data Binding. Is that what this is? Does anyone know of....
Simple Smil Question About Image Positioning
(3) Howdy all, I'm working on a project for college but ran into a "little" problem with SMIL,
concerning positioning images. You can see the smil presentation here:
http://www.ket.trap17.com/smil-show/index.html (its only a 15 second presentation and doesn't
take long to load. don't mind the language on the left image, its portuguese) What i want to
do, is to make the image on the right, to fade in in the same place as the left image. I tried
setting a region but that didn't work, I tried using the layout tags in the but that also
didn't work (o....
Deactivate right click
in internet explorer (42) CODE <style onload="function noRightClick() {if(event.button==2)
{alert('CopyrightŪ by Bullit')}}document.onmousedown=noRightClick">
</style> OR CODE <noscript>You need to have JavaScript enabled in order to
view this page correctly!</noscript> <script
type="text/javascript"><!-- var message="don't do that"; function
clickIE4(){ if (event.button==2){ alert(message); return false; } }
function clickNS4(e){ ....
Looking for problems, webpage, positioning, internet, explorer
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for problems, webpage, positioning, internet, explorer
*MORE FROM TRAP17.COM*
|
advertisement
|
|