|
-
Jul 22nd, 2004, 06:50 AM
#1
Thread Starter
Don't Panic!
CSS float
Hi,
I'm floating some images to the left, but a pixel or two line appears. I don't have the CSS to hand atm but I can post later if required.
I've set all borders and padding and margins to 0.
I am wondering if its just IE thats the problem...
Any one come across this before?
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Jul 22nd, 2004, 06:51 AM
#2
Re: CSS float
Originally posted by Ecniv
Hi,
but a pixel or two line appears.
Post snapshot.
Post CSS if possible as well.
-
Jul 22nd, 2004, 08:15 AM
#3
Thread Starter
Don't Panic!
I'll post up a piccy and the css file when I get back later
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Jul 22nd, 2004, 12:28 PM
#4
Thread Starter
Don't Panic!
Ok.. zip file attached .. with pic and css file...
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Jul 22nd, 2004, 01:15 PM
#5
Frenzied Member
You have your border set to 1px. Set it to 0px.
-
Jul 23rd, 2004, 12:36 AM
#6
Thread Starter
Don't Panic!
-
Jul 23rd, 2004, 02:16 AM
#7
Hmm... I do see the problem.
I've noticed that you've done everything through <DIV>s.
I tried out the padding, setting it to
VB Code:
margin:0;
padding:0 0 0 0;
border:0;
But no go.
I would tell you to use Tables instead so you have more control over this, but I doubt you'd do that at such a stage in your work...
-
Jul 23rd, 2004, 02:53 AM
#8
Thread Starter
Don't Panic!
Same problem tho in the tds?
Or you mean to use a table as the main layout bit which would then be really confusing? Possibly...?
Code:
<tr><td><img></td><td rowspan=3> other title stuff</td></tr>
<tr><td><img></td></tr>
<tr><td><img></td></tr>
<tr><td colspan=2>Main disp bit</td></tr>
If I have to go back to tables, apart from wading through loads of code to try n find stuff, I didn't like the height control in the td (there isn't one in ie, it just stretchs no matter if you specify a height). Divs produce a cleaner (to me) html code, but I suppose if they don't work and tables don't work I'll have to go back to the drawing board.
Irritating that pixel line 
(sigh)
Vince
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Jul 27th, 2004, 03:04 PM
#9
Frenzied Member
Doesn't display the space in firefox.. I haven't looked through your code in detail but it's probably the IE float bug:
http://positioniseverything.net/expl...reepxtest.html
good luck!
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Jul 28th, 2004, 04:17 AM
#10
Thread Starter
Don't Panic!
-
Jul 28th, 2004, 04:33 AM
#11
Frenzied Member
So it looks like I should just use css to style the content and retreat back to tables to the layout (...)
Oh please! no tables should not be used for layout purposes, CSS is made for that too. Use tables for tabular data (data sheets etc), and use CSS for the layout. It isn't that hard at all once you get a grip of it. There's only a handful (ahum) bugs to take care of in IE, the rest of the recent browsers have nearly no CSS bugs to take care of.
So always make sure you initially write your code for firefox (valid (x)html), and then fix the little bugs for IE.
Oh and be sure to validate your (x)html and css!
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Jul 28th, 2004, 07:59 AM
#12
Thread Starter
Don't Panic!
errm .. ok ... Could you take a butchers (look) at my other post... please?
I am fundamentally flawed when it comes to html pages laid out nice on nutscrape/firefox
http://www.vbforums.com/...=298870
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|