Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 24 of 24
Search took 10.30 seconds.
Search: Posts Made By: IanIan
Forum: HTML & CSS 01-21-2013, 10:37 AM
Replies: 2
Views: 262
Posted By IanIan
'Clear' on an inline element is allowed but it...

'Clear' on an inline element is allowed but it has no effect. :confused: Is there a theoretical explanation as to why it has no effect?
Forum: HTML & CSS 01-18-2013, 06:52 PM
Replies: 2
Views: 262
Posted By IanIan
Does 'clear' apply to inline elements?

<style>

.style1 li { width:220px;
float:left;
}


</style>

<ul class="style1">
Forum: HTML & CSS 02-24-2012, 07:06 PM
Replies: 2
Views: 330
Posted By IanIan
Is it safe to rely on the html link's media attribute?

Hi there,

I want to have some screen and print specific CSS e.g:

<link href="style.css" media="screen" rel="StyleSheet" type="text/css" />

Is there good browser support for doing this?
...
Forum: HTML & CSS 02-06-2012, 11:13 PM
Replies: 3
Views: 494
Posted By IanIan
I guess so. I think it might be worth forgoing a...

I guess so. I think it might be worth forgoing a reset in this situation. All that specificity could get tiresome.
Forum: HTML & CSS 02-06-2012, 06:44 PM
Replies: 3
Views: 494
Posted By IanIan
Localised CSS reset

Hi there,

I only want to apply a CSS reset to everything that appears inside one top level div.

Normally its easy to override a CSS reset because the reset is only applied to tag names. e.g. 'p...
Forum: HTML & CSS 01-24-2012, 04:56 PM
Replies: 1
Views: 236
Posted By IanIan
How do I un-set a width in IE?

Hi there,

I've got a CSS class which sets the targeted HTML element to a fixed width but in one page I want the width to be unspecified so that it stretches around the content. With Firefox and...
Forum: HTML & CSS 01-24-2012, 02:29 PM
Replies: 25
Views: 5,086
Posted By IanIan
Well I think it does make some sense. CSS is...

Well I think it does make some sense. CSS is dependent on HTML and not the other way around. So if you write bad HTML then your CSS will quite possibly be bad too and even more difficult to write....
Forum: HTML & CSS 12-15-2011, 04:52 PM
Replies: 4
Views: 589
Posted By IanIan
No I haven't. But the dimensions of the elements...

No I haven't. But the dimensions of the elements don't change anyway. I will zoom out and everything on the screen gets smaller and Firebug still reports the same pixel dimensions.

It appears that...
Forum: HTML & CSS 12-15-2011, 02:51 PM
Replies: 25
Views: 5,086
Posted By IanIan
Because you might want to change the layout and...

Because you might want to change the layout and it would be better to not have to touch the Html. For example you might want a users to be able to use a different skins (perhaps a bit rare though...
Forum: HTML & CSS 12-15-2011, 11:55 AM
Replies: 4
Views: 589
Posted By IanIan
Float drop when doing browser zoom

Hi there,

Unfortunately this isn't from a public website so I'm hoping people will understand this description...

I have a tab strip on a webpage. The tab strip is 918px wide and each tab is...
Forum: HTML & CSS 12-15-2011, 11:50 AM
Replies: 25
Views: 5,086
Posted By IanIan
Thanks for the link VIPStephan. I understand...

Thanks for the link VIPStephan.

I understand why containers don't stretch but my theory is that in abstracting the concept of alignment to that of floating they've promoted quite a specific...
Forum: HTML & CSS 12-15-2011, 11:19 AM
Replies: 25
Views: 5,086
Posted By IanIan
OK cool, perhaps its easier than I thought. ...

OK cool, perhaps its easier than I thought.

But still.... it seems like a fairly unintuitive thing to have to do just to align something to one side without having the container not stretch.
Forum: HTML & CSS 12-15-2011, 09:29 AM
Replies: 25
Views: 5,086
Posted By IanIan
Why is clearing a float so difficult?

When clearing a float such that a container stretches around the bottom of a floated item, one seems to have two options - a) add some extra markup under the floated element or b) user the ':after'...
Forum: HTML & CSS 11-04-2011, 02:25 AM
Replies: 1
Views: 232
Posted By IanIan
Moving links and images into CSS

Hi there,

I've been working on this page...

http://www.bangface.com/archives2/bf81selector.aspx

...and I'm wondering if the top three image links count as style as opposed to content. So if...
Forum: HTML & CSS 11-03-2011, 09:55 AM
Replies: 2
Views: 441
Posted By IanIan
Soz... I was actually floating #imageNavigation...

Soz... I was actually floating #imageNavigation left so that wasn't an issue.

Setting the margin on the ul fixed it! Thanks!
Forum: HTML & CSS 11-03-2011, 07:40 AM
Replies: 2
Views: 441
Posted By IanIan
Why does float right cause a line break?

Hi there,

I'm getting a line break before the <ul>. I want it to be on the same line as the link on the left.


<!DOCTYPE html>
<html>
<head>
</head>
<body>
Forum: HTML & CSS 10-31-2011, 11:55 AM
Replies: 6
Views: 895
Posted By IanIan
I've ended up doing this with floats after all....

I've ended up doing this with floats after all. I've floated the first image left and the third right and let the middle one (along with some other text) flow in between.
Forum: HTML & CSS 10-24-2011, 10:32 PM
Replies: 6
Views: 895
Posted By IanIan
Hi Excavator, I already got this working...

Hi Excavator,

I already got this working using a negative margin on the middle image. The images didn't need to be floated.

Cheers, IanIan.
Forum: HTML & CSS 10-23-2011, 03:50 PM
Replies: 6
Views: 895
Posted By IanIan
Why does it have no effect when...

Why does it have no effect when "vertical-align:top;" is applied to the middle link?

I expected it to based on the section, 'vertical-align on inline elements' in this article...
...
Forum: HTML & CSS 10-21-2011, 01:37 AM
Replies: 6
Views: 895
Posted By IanIan
OK I see, so its not really automatic alignment -...

OK I see, so its not really automatic alignment - its shifting it around to the correct place.

I actually was using a negative top margin. :)

Thanks!
Forum: HTML & CSS 10-20-2011, 03:44 PM
Replies: 6
Views: 895
Posted By IanIan
Vertically align an image to top

Hello,


<div id="headerTop">
<a href="/"><img src="/common/images/mini.gif" width="58" height="85" /></a>
<a href="/"><img src="/common/images/image_archive/una.jpg" width="730"...
Forum: HTML & CSS 10-13-2011, 05:57 PM
Replies: 6
Views: 291
Posted By IanIan
Yes that makes sense. Thanks. :)

Yes that makes sense. Thanks. :)
Forum: HTML & CSS 10-13-2011, 03:42 PM
Replies: 6
Views: 291
Posted By IanIan
I don't. I'm just experimenting. Thanks for...

I don't. I'm just experimenting.

Thanks for the ideas! So which is the correct behaviour?
Forum: HTML & CSS 10-13-2011, 05:30 AM
Replies: 6
Views: 291
Posted By IanIan
IE stretches containing div

Hi there,

I've got the following...

<div id="d1">
<div id="d2">
Hello
</div>
</div>
Showing results 1 to 24 of 24

 
Forum Jump

All times are GMT +1. The time now is 08:15 AM.