|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I am running into a problem on a site redesign I am doing with getting the page to render the same in both IE as well as FireFox. I was given the diced up version of a Photoshop file which had been converted to an html document. The html uses mainly css with div tags which I assume would the the better option over tables but once I started to pluging in dynamic content from a backend database, it "broke". Originally the static html file worked fine in IE but now when viewing in Internet Explorer everhthing shifts to the left and the footer is no longer visible. I cannot figure out what I am doing wrong since the content I was plugging in did not have any html in it that I caould tell. It looks okay in FireFox, and I am sure okay in Safari but IE is not liking it at all.
The link is below: San Antonio Weddings Any help will be appreciated. |
|
|||
|
Yeah. I know it is not the prettiest anymore. I think once I started to call data from the database it starts to bug out. Unfortunately I am not all that up on "design" and w3c standards anymore having spent the last 5 or 6 years focused on app programming so I am hoping someone with more CSS and div tag knowledge might be able to offer some feedback. Unfortunately I am a little old fashion and still prefer tables and now wish I had insisted on going that route.
|
|
||||
|
Quote:
Quote:
Quote:
Quote:
Your post title is Problems with IE Rendering but obviously this isn't the case, and for once I'm sticking up for IE. I'll state it again, you are comparing how different browsers handle malformed html code - and expecting them all to do it the same way. It's tough enough getting them all to render in a similar way when the html and css is valid. I'm certain that many WPW'ers could get this working for you inside half an hour, but what would be the point. To get you started - you need a DOCTYPE declaration as the first line of your html. This tells the browser what standard to expect the rest of the document to follow and likewise how to render it.
__________________
There are 10 types of people in this world: those who understand binary and those who don't. Last edited by Uncle Dog; 10-27-2009 at 09:06 AM. |
|
||||
|
I've found that when I use Photoshop/ImageReady to slice up an image for HTML output AND I set the output to XML the code get's right messed up if I try to edit the HTML/XML.
When I generate just HTML without divs and so forth, my pages seem to blend and mesh quite well. The Outputted XML cannot be fully trusted to work with all the browsers, especially the new ones as I'm sure they've updated a lot of things related to HTML output. Try regenerating simple HTML and see how that treats you.
__________________
Join free dating sites and meet single people without paying a penny. |
|
||||
|
I need to add that 99.978% of the time, after I have generated HTML (table based layout) from Photoshop/ImageReady, all browsers render my pages exactly the same.
Of course I use styles and a stylesheet to 'style' the document and it's elements (like colors, padding, margins, background effects) but I don't use styles or a stylesheet to output layouts... I'm sure if you do go the HTML/Table based layout route from the generated HTML you will do just fine. P.S. Your site looks just great in Chrome accept the image box on the left hand side is NOT displaying image 1. if i click the 2, 3 and 4 button, the new image shows and if I click the #1 button again no image is showing. Also, the size of the image box doesn't seem to fit the whole area where the box looks like it should be displayed.
__________________
Join free dating sites and meet single people without paying a penny. Last edited by morestar; 10-27-2009 at 05:39 PM. |
|
||||
|
IE deals with auto margins differently to SCBs so you need to adjust your CSS with a text align selector on the highest level of your CSS tree. You'll then need to clear that CSS selector by putting another text align on a descendant selector, normally the BODY tag. It's a nuisance it doesn't just take margin:auto on your main layout selector to center everything...
__________________
If you've worked in the Adult SEO industry, please tell me... how do you get it up? My web designers |
|
|||
|
Your in for a long learning curve if you wish to get this exact and compliant. You might be better off getting a cheap freelancer on a site such as odesk.
They'll probably be able to get your page working right in a couple of hours and charge you 30 bucks or so, or you could spend the next week getting to know (and hate) CSS, although it's good once you've cracked it. |
|
|||
|
I don't want beat this horse too much, but I have to go with Uncle Dog here. I mostly write applications not web pages so I understand your mindset issues <g> That said, you have to get the code right first and sometimes it is a pain.
Get an editor with good validation. Get firebug for Firefox AND the web developer addon. I also use Fiddler, IE TAb, InspectorWidget (to watch the DOM stuff) and last but not least Total Validator. Then validate, take the first problem and track it down and then the next. Don't try to fix everything at once. I don't know what I'd do without these tools. It is confusing and a nuisance but don't look back. Tables have their place - when displaying data use them. Page layout is a job for css. If you haven't before look at csszengarden if for nothing else but inspiration. HTH chris |
|
|||
|
Danielle is correct. Margins and padding render differently in IE. Google zeroing css margins or visit
xhttp://webdesign.about.com/cs/css/qt/tipcssmargins.htm |
|
||||
|
Quote:
Slicing pages in ImageReady and creating HTML makes really messy tables and pages that are very difficult to update. However, I occassionally use slicing to break up a large image and put the pieces in CSS. Last edited by NJ; 10-27-2009 at 07:45 PM. Reason: Missing information. |
|
||||
|
Uncle Dog is correct; get the foundation plumb before worrying about how to get the doors to hang true.
__________________
The Penn State Ticket Man http://www.pennstateticketman.com http://www.happyvalleytickets.com http://www.hounddogtours.com |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Image Rendering and Alt Text | GregKell | Graphics & Design Discussion Forum | 3 | 07-22-2008 10:49 PM |
| Firefox not rendering css | chandrika | IT Discussion Forum | 2 | 04-11-2008 12:15 PM |
| IE: Vulnerability in Graphics Rendering Engine | AjiNIMC | Internet Security Discussion Forum | 0 | 01-04-2006 11:12 AM |
| PR3 Web design, graphics, 3d, rendering, Autocad | nattyb | Marketing Strategies Discussion Forum | 2 | 07-01-2004 02:33 PM |
| Funky IE 5.0 CSS rendering problems | dugfresh33 | Graphics & Design Discussion Forum | 4 | 06-22-2004 12:05 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |