HTML - Need Help With Tables And Different Screen Sizes
Hello
This is my site: http://www.showlistportland.com When viewed in 1280 x 800 it looks perfect. If you view the page in any other size below that, it cuts the page in half. How can I make it so that at least when viewed in a smaller screen size, the ads on the left side don't get cut off? Any help would be much appreciated!!! Thank you!!! Similar TutorialsHi, I have the following javascript which basically scrolls to a certain point of a webpage when the page loads up: <script type="text/javascript"> window.onload=function() { scrollTo(0,200); } </script> Now the problem I have is that this code behaves differently based on what screen size monitor you have. As I have a 15 inch screen monitor, all works fine. But if i view the page on a 19inch monitor, it scrolls down to a slightly different point of the page. Is there anyway round this. I placed all my adsense ads into iFrames but when I resize the window small all the ads are pushed to the middle of the screen. How can I make them stay put. I tried working with divs too but it makes the ads the highest layer and it makes an invisible border stretching across the screen and I cant click anything thats in that border range. heres some of my code: <html> <head> <link rel="stylesheet" type="text/css" href="style2.css" /> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <center> <head> <title>BIO</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> </tr> </table> <!-- End ImageReady Slices --> <iframe src="/adsense.htm" width="120px" height="600px" frameborder="0" style="position:relative;Left:1173;bottom:865" marginwidth ="0px" marginheight="0px" scrolling="no"></iframe> <iframe src="/adsense2.htm" width="120px" height="600px" frameborder="0" style="position:relative;Left:-92;bottom:865" marginwidth ="0px" marginheight="0px" scrolling="no"></iframe> <iframe src="/adsense3.htm" width="728px" height="90px" frameborder="0" style="position:relative;Left:50;bottom:518" marginwidth ="0px" marginheight="0px" scrolling="no"></iframe> <iframe src="/adsense4.htm" width="336px" height="280px" frameborder="0" style="position:relative;Left:195;bottom:1560" marginwidth ="0px" marginheight="0px" scrolling="no"></iframe> </body> </center> </html> I'm using the developer toolbar for FireFox and I've outlined the tables on the following web page. http://www.carlmumford.me/email Are the tables different sizes? Can someone explain to me why there is a slight change in table size when you outline them? I have the images at 600px wide and the tables are 600px with no padding. Ignore the bottom nested table because that's fine, it's the outline of the bigger tables that are bothering me. They show correctly but they are not quite lined up, is this fine? On another note, how do I get the link colours to display in gmail because they default to the nasty blue colour. I can't get them to display properly, what would you use? I'm setting up a forum page for a friend. I already found the forum and am making it so that it looks consistent with the rest of his website. Another webmaster already built his site, I'm just creating another page that will include a forum. http://goltoof.com/wchr/wchra_mboard.html This is just a test page. You'll find that I'm using iframe to embed the forum page into the webpage. The problem I'm having here is that I want the table I created to stretch to 100% of the webpage so that people won't have to scroll using the main sidebar. You'll see in firefox it only shows part of the page while in ie the forum table doesn't show at all. Please let me know what I'm doing wrong and ask me to elaborate more if my question doesn't make sense to you. Thanks. Hey i am just wondering why text size changes between browsers if you set it at a certain size. I set my text at 11px print, and the size from mozilla -> ie6 changes (gets bigger in ie6) but even greater difference in ie7... is there a way to make them all the same for sure without recoding for each browser? thanks in advance, -uberwalla Can someone take a look at this page: http://www.robotsandcomputers.com/robots/index.htm in both IE and Firefox and tell me why the images in the right hand side of the screen are larger in IE than in Firefox? I have been through the code and I can cannot figure it out.. Thanks Oh, and something else... On the menu at the top of the page. On that page you notice (in Firefox) that the menu spans the entire screen. But if you click on any other link on that menu, then the menu bar is centered. I removed the <p></p> tags in the menu on the first page because in IE they were adding way too much space above and below the menu links. Is there anyway to center those links (like they are on all the other pages) but still have IE display them correctly? I hope that makes sense.... Thanks.... I am trying to make a generic html page. This page is going to switch between two htm files. For some reason I cannot get the font to increase. I need it to be about 125font size in word. Here is what I have: span class="fontsize100"><Font Color=red>test</font></span> I assume this is incorrect? I am currently having an issue where Firefox allows my images to wrap according to window size but IE puts them one by one down the page instead of putting images side by side according to window size if they will fit. Example is that I have 5 images. 4 of the images are 350pixels X 400pixels and 1 image is 700pixels X 500pixels. I have code that loops through and gets images for each section that is setup. Then I am just displaying the image in 1 line of code which loops through and displays the images for each section. I have 5 sections setup with the five images listed above. My code then displays the section images with links to the sections. <a href="<%= lTemplateFileName %>"><%= (sectionMediaFile != null) ? sectionMediaFile : "" %></a> Firefox puts images side by side and since the 700pixel image will only fit on 1 row it puts that 1 image and then the next row shows 2 images because they will fit on that row. With IE using that code it displays each image 1 by 1 on seperate rows. I want to be able to use 1 piece of code that will allow images to wrap depending if multiple images can fit on that a row. I don't want to limit a <td> to a colspan and create a table out of it. I just want the images to display as many as it can fit on a window size and wrap the next images to the next row and so on and so on. How can I make it so that the end user can choose between three text sizes like is done here http://www.tsn.ca/nhl/story/?id=294191 Thanks in advance BW I want to make changes to the font of the posts of this section: http://foxh0und.tumblr.com/tagged/foxh0undQA I'm really not sure where to find the part for that in the HTML.. what I want to do is change the spacing between each post & have the question in bold and the answer not in bold and smaller font - an example of what I would like to do is in the link below. http://foxh0und.tumblr.com/post/11626236049 any help would be amazing because i feel like it's ruining my whole theme. Hello. I'm back again. This time I have a different problem: Because the text sizes in IE are much smaller than in Firefox, the alignment of certain divs comes out disarranged. Notice that in FF, the big red box's position begins at midpoint of the contact us navigation. But, in IE it begins a big close to the end. I think this is due to the different text sizes. I was wondering if I could use javascript to test which browser is currently being viewed, and base on the browser type it would switch between css to correct the differences? (Sorry for the overly huge images) Also, I'll post the code later. Is there any way that I can set up a page with frames where the frames remain a fixed width and will stay that size even if the browser cannot show them in their entirety? This is a simplified version of what I'm trying to do (with two random sites in the frames for an example) <html> <frameset cols="800, 800"> <frame src="google.com"> <frame src="yahoo.com"> </frameset> </html> How that is working right now is that if you reduce the size of the browser then the frames also reduce in size so that they both remain on the page... I don't want this. I want the frames to remain the fixed width (800) and if the browser is not large enough to display them (<1600), I want it to have a scroll bar along the bottom to scroll further right to view them. I don't really ever use frames though, so I'm not quite sure if there's a command to throw in either frameset or frame tags or if there's something else I need to do. Thanks! Hi Normally, when you have more than one table in your code, the tables will be placed one under each other. Example: <table> ... </table> <table> ... </table> When you want the tables to be placed next to each other, you need to set the align attribute. Example: <table align="left"> ... </table> <table align="left"> ... </table> BUT: When you do it like in the 2nd example (tables next to each other), in Firefox, the tables will wrap to a new line if there is no more space. In Internet Explorer, the tables will not wrap. The result is a horizontal scrollbar or "hidden tables". Why this? How can I make the tables wrap also in Internet Explorer as it does in Firefox? Is it possible with a special CSS definition or with a special DIV/SPAN tag? Thanks for your help praiser Hey everyone, I'm new to these boards. Somewhat a newbie at web design, but I know basics. I'm looking to put 2 tables adjacent to each other inside another table. My problem is I can't get the tables to line up the way I want them to. I'll post a picture of how I want it to look, how it looks now and my code. How I want it to look: How it looks now: I want the tables to line up at the top and re-size according to each other so they're always aligned at the top. Code: coming in next 2 posts Hello, Problem/No Problem, I don't really know. However, it is a problem that I want to get rid off cause it completely annoys me. The problem is, I have set the body width/height to 100%, so the background image is going off screen a little. If I set the width lower, it will most likely leave a white spot in higher resolutions. I took a screenshot so you can see what I mean: Although I don't know if I am explaining correctly, I don't know how else to explain it. I'm sure you will get what I mean. Here is the method I am using in the CSS: Code: body { width: 100%; height: 100%; background: url(images/box.jpg); font-family: 'Arial'; color: white; margin: 4%; } There is no need to show the HTML, all that's there is me calling the method. Thanks in advance Hi, I have a very simple HTML. It has an rtl body that includes: * a left aligned table (400 width) * a ul In EE I see both of these elements inside the screen, but in FF2 the ul is displayed outside the screen! I also tried various doctypes. Any idea? Code: <html> <body dir="rtl"> <table align="left" width="400"> <tr> <td>In screen</td> </tr> </table> <ul> <li>Outside of screen in FF</li> </ul> </body> </html> TIA, Dror How the screen to divide into four parts a line? On my website I have a Biography page that has a lot of text. On Mozilla Firefox the text automatically fits to the screen so the viewer doesn't have to scroll from left to right to see all the text. On Internet Explorer, however, the text doesn't fit to the screen (no matter what size it is). Is there a way to fix this? I don't want to have a fixed width on my text because I want my page to just seem natural. Any advice would be greatly appreciated! Hello, I wan't to make a div filled with images in one single line, overflowing out of the visible content-part. I wan't to be able to move it left to right and back using jQuery (so that part should be covered). A sprite is not an option because of the images being links (Lightbox and stuff). CSS "overflow:hidden" and "display:in-line;" don't seem to work. Please help! |