Topic: CSS: Margins #2 (Page 1 of 2) |
|
---|---|
Bipolar (III) Inmate From: New York City |
posted 07-20-2003 17:32
Well, my page seems to be passing CSS Validator and HTML Validator, but still doesn't pass Browsercam's test This last link is still active when I try and view- hopefully you can see as well. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 07-20-2003 17:51
CRO8: I'm afraid you have to logged in to see the results. You'd need to screencap the page and drop us a link to that. See: |
Bipolar (III) Inmate From: New York City |
posted 07-20-2003 18:05
yup. Thought so. Try public page. Nope- Expl 5.2 Mac ain't a working. |
Maniac (V) Inmate From: California |
posted 07-20-2003 21:21
Still not working. I can see all of them except for IE/Mac. |
Maniac (V) Inmate From: under the bed |
posted 07-20-2003 21:42 |
Maniac (V) Inmate From: California |
posted 07-20-2003 21:56
How to get his site design to work in IE5/Mac. |
Bipolar (III) Inmate From: New York City |
posted 07-21-2003 03:09
Problem I need help with: Try and get my page to properly load in all browsers. |
Maniac (V) Inmate From: Den Haag: The Royal Residence |
posted 07-21-2003 21:02
If browsercam gives a description about why the site doesn't work with IE5/mac that would be incredbly nice to show us. |
Maniac (V) Inmate From: California |
posted 07-21-2003 21:09
Browsercam is a service that simply takes a screencap of your page in a browser that you specify. It's not a validator. You look at the screencap and try to figure out what went wrong. Right now, I think CRO8's trying to show us what his site looks like in IE5/Mac. |
Maniac (V) Inmate From: California |
posted 07-21-2003 21:24
OK, since everyone seems to be sitting around waiting for something to happen... |
Bipolar (III) Inmate From: New York City |
posted 07-22-2003 01:25
Just got home from work- been nuts. Thanks ozphactor, you got a visual for us to see. Thats whats happening. I am puzzled, my code is valid but it will not be interpreted in Mac (which is why there is no picture on Browsercam!) |
Maniac (V) Inmate From: under the bed |
posted 07-22-2003 03:18
"valid" doesn't in any way mean that it will do what you want it to do. It basically just means your syntax is correct and you didn't spell any of the attributes wrong |
Bipolar (III) Inmate From: New York City |
posted 07-22-2003 03:22
Thanks DL. Yeah I figured as much. Puzzling . . . |
Maniac (V) Inmate From: California |
posted 07-22-2003 03:47
Ok, I've taken another look at it, and it looks like IE/Mac isn't reading a few of your positioning values. Namely, "top" and "left". |
Bipolar (III) Inmate From: New York City |
posted 07-22-2003 03:53
ozphactor- thanks. What a pain. I guess one of my options is to put everything in tables . . . ? |
Maniac (V) Inmate From: California |
posted 07-22-2003 05:06
Well, that is an option. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 07-22-2003 05:19
Fiddle. Take things out and put things in, and try to come up with something that works as you expect it to, even if it's not what you're going for. Then modify it until you notice something specific that's not working as it should. When you've narrowed down a specific issue like that, look for an alternate way of doing the same thing which works around the problem. |
Maniac (V) Inmate From: California |
posted 07-22-2003 05:55
Good advice, Slime... unfortunately, though, not many of us have access to a mac... |
Maniac (V) Inmate From: Boston, MA, USA |
posted 07-22-2003 13:01
Okay - sorry. I do, but I've been out of the loop for a while. I can confirm that Safari look they way you want it to, and IE 5 looks the way oz showed you, and I can't help with why it is so. Sorry. |
Bipolar (III) Inmate From: New York City |
posted 07-22-2003 13:36
hey thanks for the support! OK, then. Actually my day job is so busy- and tonight I am going to a NYPHP meeting. So it may have to be put off until tomorrow evening. I will keep you posted. |
Maniac (V) Inmate From: Boston, MA, USA |
posted 07-22-2003 14:48
I'm sorry for giving this such a cursory look, but ... why the huge negative margins? "margin-top: -157px;". Is it possible IE 5 Mac is honoring these and rendering the image ABOVE the viewport, thus making them effectively invisible? |
Maniac (V) Inmate From: California |
posted 07-22-2003 19:01
Yeah, that seems to be what's happening. Read through the entire thread... I already noted that. |
Maniac (V) Inmate From: Boston, MA, USA |
posted 07-23-2003 00:54
Oh - right. Sorry - I did miss that. Was paying too much attention to your discussion of right, top, left, bottom. |
Maniac (V) Inmate From: California |
posted 07-23-2003 01:04
Unfortunately, the negative margins are what CRO8 uses to position the elements correctly. |
Bipolar (III) Inmate From: New York City |
posted 07-23-2003 03:12
Steve |
Maniac (V) Inmate From: Boston, MA, USA |
posted 07-23-2003 04:27
Getting closer - at least IE5 and Safari look the same. Unfortunately, "contact" is in the "water", the background graphic. and 'interactive photography" isn't sitting on the white bar, but looks like progress |
Maniac (V) Inmate From: under the bed |
posted 07-23-2003 04:52
K, I gave this a shot, with none of the negative margins or all that unnecesary positioning either. Also converted to an xhtml strict doctype. |
Bipolar (III) Inmate From: New York City |
posted 07-23-2003 05:12
DL- how did you postion the elements without usual CSS <div> tags? xhtml? |
Maniac (V) Inmate From: under the bed |
posted 07-23-2003 05:43
They are in a <div>. |
Maniac (V) Inmate From: California |
posted 07-23-2003 05:48
Someone check that thing in IE5/Mac. Browsercam's still being a bitch... |
Bipolar (III) Inmate From: New York City |
posted 07-23-2003 16:19
Thanks DL- the page looks great- I will look into XHTML. I checked the one I did (w/o neg margins) on my Mac at work and yes- we are making progress. All images are present and located in proper position (of course, needs tweaking). Just need to go back and make minor edits. I think I will forget about negative margins- and size it in absolute pixels and not worry about it resizing in browser resolutions. I will design it with 1240 screen res in mind and put the contact image right aligned in a table set to 90%, so that way when the browser screen res changes, that little itty bitty contact image remains under the water image and all the way to the right of the screen. I am kind of sad that I cannot develop this page so it resizes in different res settings- but all well. |
Maniac (V) Inmate From: under the bed |
posted 07-23-2003 18:22
quote:
|
Bipolar (III) Inmate From: New York City |
posted 07-23-2003 19:08
Oh DL beat me to it . . . I will reply later this afternoon when I have more time! In the meantime . . . |
Maniac (V) Inmate From: California |
posted 07-23-2003 19:28
Yep, I got a hold of an iMac at this, er, university place. The photography page looks fine. |
Bipolar (III) Inmate From: New York City |
posted 07-24-2003 05:14
Thanks DL + Oz. Oz- just got back from work 11pm, whew. Thanks for the 2 hour offer. I am going to go with what DL suggested and look into xhtml . . . unless someone can exlplain why my photography page looks fine using negative margins, but main page looks screwy. |
Maniac (V) Inmate From: under the bed |
posted 07-24-2003 16:06
The XHMTL is not the issue. As I said, it's just HTML with a couple extra rules. I mainly went to XHTML for the sake of using a 'strict' rather than 'transitional' doctype. I happened to have an xhtml1.0 strict doctype handy to copy and paste, so that's what I used. A 'transitional' doctype will make new browsers handle things a little differently than it should, so a strict doctype is always preferable (IMO). |
Maniac (V) Inmate From: California |
posted 07-24-2003 22:01
Apparently, the combination of absolute positioning and negative margins causes IE5/Mac to fail. It's a known bug. |
Bipolar (III) Inmate From: New York City |
posted 07-25-2003 01:02
OK DL got it. OZ, thanks for the articles. Finally got hom from work at a decent hour. I am going to dive into this and re-post my progress. |
Maniac (V) Inmate From: Boston, MA, USA |
posted 07-25-2003 05:22
Well, I didn't get home from work at a decent hour, and when I did http://in-dented.com/temp/index_cover.htm |
Maniac (V) Inmate From: under the bed |
posted 07-25-2003 14:29 |
[1] 2 — Next Page »