[css-d] Bug similar to Guillotine in Safari

2006-10-05 Thread Sam Partington
Hi,

I'm not able to do much testing in Safari because I don't own a mac. I
do occasionally get access to one, and for the most part my site looks
ok, although not perfect.  I'm happy with that for the time being, as
long as it's functional.

However there is one really serious bug in my calendar.  As you hover
over, and then leave a date cell, the entries for that date jump up
into the preceding row. This completely messes up the layout, and I
think makes it unusable.

http://www.luusac.co.uk/calendar.html?date=2006-10

The relevant CSS is here :

http://www.luusac.co.uk/styles/calendar.css

Obviously this is quite a complex page, and I don't expect anyone to
go saying "you need to change this"  but has anyone seen anything
similar before?  a pointer in the right direction would be most
useful.

Any help would be very much appreciated.

Sam
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] advantage to using doctype strict over transitional

2006-07-31 Thread Sam Partington
Sorry, sent this to the OP rather than the list by mistake.

---

Ed Seehouse said :
> I think it would be a lot easier.  If everyone learned with a strict
> doctype we'd have faster development and lots of much better pages, I
> think.

Personally I don't think it makes a jot of difference.  You can abuse
a strict page just as easily as you can a transitional.  The important
thing is that you structure the page well and conform to the doctype
you choose. (oh and I suppose the content is quite important too!)

I can't move over to strict on many of my pages because I need some of
those deprecated attributes.

For example, the start attribute, has anyone come up with a
semantically sound _portable_ way of implementing this?  (CSS counters
do not measure up - not when the majority of users in the world can't
use them)  Besides, I don't see why they chose to deprecate that
attribute anyway - it's not always a presentational thing, often it's
a content thing - why take that choice away from me?

Sam
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] IE / FF display issue

2006-06-19 Thread Sam Partington
On 19/06/06, Dave Goodchild <[EMAIL PROTECTED]> wrote:
> Hi all, I am building a back end admin system for our new venture and like a
> fool only checked in FF as it will only ever be used by us and I never use
> IE locally. However, my business partner refuses to install IE and seems to
> get a blank page here:
>
> http://www.projectkarma.co.uk/karma_admin/
>
> seems like the body loads (I can tell by the grey background colour) but
> nothing else. Any ideas? I will continue to investigate.

Get a new business partner? :-)  (I assume you meant refuses to install FF)

Seriously, make it validate - in particular the script tag is not
closed.  Seems quite a likely possibility for two renderers two show
widely different results :

http://validator.w3.org/check?verbose=1&uri=http://www.projectkarma.co.uk/karma_admin/

HTH

Sam
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] z-index and IE 6 - overlapping elements

2006-05-02 Thread Sam Partington
On 02/05/06, Bostjan Kern <[EMAIL PROTECTED]> wrote:

(snipped my first attempt at a fix)

>  I tried the above solution, but the bottom  element is still overlapping
> the top  and 
>
> Any other ideas folks?

Hmm odd!  I don't know what is causing this behaviour.  But before I
posted my earlier response I tried a much simpler mock up, and my
described fix worked for the simpler problem. So there is obviously
something else going on as well.

Using your example, I cut out as many of the positioned elements as
possible.  For example you have the following structure for your
gallery :

div.album <-- float:left and position:relative
   a.albumLink  

Re: [css-d] z-index and IE 6 - overlapping elements

2006-05-02 Thread Sam Partington
I shoud imagine its these two rules that is causing a bit of ambiguity :

.album *
{
 position: absolute;
z-index: 0;
}

.albumSub
{
  z-index: 100;
 position: absolute;
 /* other stuff */
}

I am guessing that the first rule is given a higher specificity,
however according to [1] the * should not give it any higher
specificity, but it isn't absolutely clear about the subject.  I guess
its a different interpretation of the standard.

If I were you I'd not use the wildcard selector because its not
immediately obvious. You can target the a element for that.  Then I'd
override that with the second rule, using .album as an extra class
name to increase its specificity :

.album a
{
 position: absolute;
z-index: 0;
}

.album .albumSub a
{
  z-index: 100;
 position: absolute;
 /* other stuff */
}

HTH

Sam

[1] http://www.w3.org/TR/CSS21/cascade.html#specificity


On 02/05/06, Bostjan Kern <[EMAIL PROTECTED]> wrote:
> Hi!
>
> URL: http://neovizija.com/emanuel/
>
> Problem: The element with z-index: 0; is overlapping the element with
> z-index: 100.
>
> It works fine in Safari, Firefox and Opera though.
>
> Any ideas how to *fix* this?
>
> Cheers,
> Bostjan :)
> __
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] test html pages on an handheld or smartphone browser

2006-04-27 Thread Sam Partington
Opera has an emulation mode for small screen devices, you press Shift-F11.

IIts not perfect, but it gives you a pretty good idea.

Sam

On 27/04/06, cj <[EMAIL PROTECTED]> wrote:
> msdn had a web series dealing with mobile devices a while ago, and
> their web casts are saved and available to replay online.  i don't
> remember the links they had to various company's controls/applications
> that let you view your pages on their phones, but i'm sure if you
> watched the 'cast they'd give them again.  the series was called
> "Mobile Web Development with ASP.NET 2.0" and was done july-august of
> 2005.  i know the web cast is about making pages with asp, but the
> presenter talked about several web phone things you can view pages
> with.
>
>
> hth, and i wish i remembered more!
> __
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] photo slide show

2005-11-24 Thread Sam Partington
> > >>http://www.cssplay.co.uk/menu/gallery.html
> > >
> > > the examples are not really ready for web sites that may need
> > > maintenance by other people.
> > >
> > > With a few lines and a clever ID hook via DOMscripting this can be
> > > achieved a lot easier - and accessible via keyboard and mouse.
> > >
> >
> > Chris, can you (or siomeone else) give us an example or a link to a page
> > where this clever solution is used?

I went with this solution, after finding that none of the solutions
out there fulfilled my requirements*

http://www.luusac.org.uk/gallery/clyde_05.html

Its not perfect, its still lacking keyboard navigation, and I'd
probably not do it quite the same way in the future, but I like the
overall effect.

Sam

*requirements (from memory)
It should be very easy to create new galleries.
+ This is satisfied by the only bit that needs editting is the links
and alt attributes for the description. PHP handles that for me
anyway.

Giving photos titles should be easy
+ The titles are retrieved from the alt attribute of the thumbnail.

It should where possible not require constant page reloading, only the
image you've chosen should load.  Where possible they should be
preloaded.
+ This is satisfied by using the preload cache, and clicking an image
merely hides the thumbnails, rather than navigating away from the
page.  Meanwhile preloading continues in the background.

The user should be able to select a slide show option.
+ A bit of javascript handles that easily.

It should still be functional when javascript is disabled.
+This it does by using onclick to disable the link, if js is disabled
then the link is followed.
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] dropdowns appear on top of div

2005-11-11 Thread Sam Partington
On 11/11/05, Christian Heilmann <[EMAIL PROTECTED]> wrote:
> The easier option is to hide the elements when you open your popout,
> that way you keep the fix at least in the JavaScript and not in CSS,
> HTML and JavaScript.

That solution hadn't occurred to me before, its rather elegant
solution I must say.  But its not necessarily the magic bullet for all
situations.  Take my application for example :

I have quite a complex web application/database.  Every page has a
Help button that when clicked displays a popup div with context
sensitive help for that page.

There is no knowing which elements might be obscured by the help
because the help is dynamic and I encourage users to help write the
help (its actually stored in a wiki),  Also the user can move the help
popup around using the titlebar, so at times only parts of elements
might be obscured, you can't visible: hidden part of an element.

If on clicking help, all  elements were to disappear then the
help would be confusing because it would reference elements that have
disappeared.

I can't move the elements around so they don't obscure each other for
exactly the same reason, so the only solution left to me that I know
of is the iframe shim fix.

I suppose I could interrogate the position of all elements and set
visibility: hidden if they overlap. Or I could mess around with the
clip element for a while, but the requirement that the element is
absolutely positioned is too high a price to pay,  Anyway that
solution is more complex than the iframe fix.

Yes its a pain but it is a practical solution to a real world CSS
problem, which is exactly what css-discuss is supposed to be about. 
And this question does crop up a least once a month on this list.

> I avoided giving that solution as we really should not add extra
> markup that even shows up in assistive technology as another document
> just to fix a browser bug. Forms are hard to use as they are, no need
> to confuse matters even further.

The solution can go purely in the Javascript where it belongs, without
affecting the markup or CSS at all.  The JS can then be served up to
IE only, so its not semantic.  But even though its all in JS, it is a
fix to a real world common CSS problem.

Sam
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] dropdowns appear on top of div

2005-11-11 Thread Sam Partington
This is an annoying problem, that crops up a lot on this list.  I'll
add it as a wiki entry if no-one has a problem with that?  I'm not
particularly knowledgable about the subject but I can probably knock
something up.

The problem is that some elements (drop-downs, and flash objects,
maybe more) in IE/win are drawn by the OS, and not by the browser, and
they show no respect for z-index.

The solution is to use an iframe behind the div, the iframe acts as a
opaque layer hiding the OS control.  There's a guide here :

 

Its messy, hard to maintain, and its a lot easier to avoid the problem
by moving your popup or drop down so they don't clash.  But where that
isn't an option, the above does work.

HTH

Sam

On 11/10/05, Polina Grinbaum <[EMAIL PROTECTED]> wrote:
> so I am having a problem and I can't post an example right now cause i am
> behind a firewall. I have a very simple hide/show javascript popup.
>
> the popup is suposed to appear payed over on top of a form. however in ie 6
> for pc the dropdowns appear on top of the poup, the input fields do not.
>
> here is the css for the popup:
>
>
> #popup {width:340px; height: 300px; background-color: #fff; display: none;
> position: absolute; top: 10px; right: 3%; margin-top: 50%; margin-left:80%;
> z-index:1}
>
> obviously the javascript toggles the display property.
> __
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] images

2005-11-03 Thread Sam Partington
Either a

On 11/3/05, Patrick Roane <[EMAIL PROTECTED]> wrote:
> Hey folks
>
> www.cpcconstruction.net/1/homes.html
>
> I have to be able to click the image and have it
> remain in the main box.
>
> Does anyone have any suggestion on how I can
> accomplish this?

You could use a CSS solution with :active like Stu Nicholls' gallery :

http://www.cssplay.co.uk/menu/gallery.html

HTH

Sam
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Cached CSS

2005-10-14 Thread Sam Partington
> One of the problems we get is release major updates to our new
> website (once every 3 months), recent visitors who come back to the
> website use their disk-cached css file and only after a reload does
> the page in order to cache the new css file.

Hi,

I've come across this problem from time to time and its not
straightforward.  Setting cache-times wasn't an option for me because
I didn't know in advance when the CSS files would change.

The best solution I came up with was to encode the version information
in the filename.  As I use CVS for all my code, it was relatively easy
to make this automatic - when the CSS file revision was updated the
 href was updated similarly.

But theres a much more simple solution I think :

  

The css wouldn't have to be dynamic or anything, but the change in url
would force the user agent to get the new file.

Just an idea

Sam
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Opacity in Suckerfish

2005-10-11 Thread Sam Partington
> > Problem is that if I do it like this, the text in the ul also has the
> > opacity applied. That's not supposed to happen.
>
> Actually, that *is* supposed to happen. Opacity affects the entire element
> and all its children.

Is there a way around that? I've tried specificity tricks and
!important but they didn't work

I have a page that is designed to make it easier to crop images to a
specified size and aspect ratio.  I do this by having the original
image as a background, and a div of the right size shape, and border
inside that div.  When the inner box is moved its background-position
is set so that it stays in step with the larger image around it.

What I wanted to do was have the bit that isn't bounded by the box
greyed out slightly, so theres a visual indication that its not being
used.  So I set a grey background, and set the opacity of the large
image to be 0.5.  Then I had hoped to set the opacity of the smaller
bounding box to be 1.0, but that doesn't work.  Though in IE it does.

This is what I had hoped it would do, if you look at it in IE, then
the effect works quite nicely.
http://www.sampartington.co.uk/imagecropper/?skip_opacity_hack

As a work around for non-IE browsers I create a darker image for the
background on the server, and deliver that instead, and leave out the
opacity rules.  (It loads significantly slower as a result)

Here you can see the workaround :

http://www.sampartington.co.uk/imagecropper/

I suppose the obvious solution is to have the inner div not be a child
of the outer div, but it makes the positioning a lot more complicated.

Any ideas anyone?

Sam
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] conditional images

2005-10-05 Thread Sam Partington
Doh,

I just realised there was a typo in my last message.  The CSS selector
should have read

div.article div.article-image img
{
  display: none; /* or however you want to do the hiding */
}

div.article:first-child div.article-image img
{
   display: inline; /* or however you want to do the showing */
}

note the : after article in the second selector

Sam

On 10/5/05, Sam Partington <[EMAIL PROTECTED]> wrote:
> This should do the trick :
>
> div.article div.article-image img
> {
>   display: none; /* or however you want to do the hiding */
> }
>
> div.article-first-child div.article-image img
> {
>   display: inline; /* or however you want to do the showing */
> }
>
> But guess what? :first-child is not not supported in IE.  I'd usually
> fix this by using a class called article_first_child, and adding that
> to the class list using server scripting :
>
>  
>
>  
>  
>
>  
>
> HTH
>
> Sam
>
>
> On 10/4/05, Marcelo Wolfgang <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have a page with mutiple  attributes. inside
> > each one of them I have another  with a image on it so it's
> > something like this
> >
> > 
> >   
> > 
> > 
> >   
> > 
> > 
> >   
> > 
> >
> > *Note, this is not the complete markup, is just a simple testcase ...
> >
> > Is it possible to write a css that AUTOMATICALLY only shows the image
> > on the first div ?
> > Does not need to work on IE, only Firefox, but if it works on ie, better 
> > yet.
> >
> > TIA
> > Grillo
> > __
> > css-discuss [EMAIL PROTECTED]
> > http://www.css-discuss.org/mailman/listinfo/css-d
> > List wiki/FAQ -- http://css-discuss.incutio.com/
> > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
> >
>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] conditional images

2005-10-05 Thread Sam Partington
This should do the trick :

div.article div.article-image img
{
  display: none; /* or however you want to do the hiding */
}

div.article-first-child div.article-image img
{
  display: inline; /* or however you want to do the showing */
}

But guess what? :first-child is not not supported in IE.  I'd usually
fix this by using a class called article_first_child, and adding that
to the class list using server scripting :

 
   
 
 
   
 

HTH

Sam


On 10/4/05, Marcelo Wolfgang <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a page with mutiple  attributes. inside
> each one of them I have another  with a image on it so it's
> something like this
>
> 
>   
> 
> 
>   
> 
> 
>   
> 
>
> *Note, this is not the complete markup, is just a simple testcase ...
>
> Is it possible to write a css that AUTOMATICALLY only shows the image
> on the first div ?
> Does not need to work on IE, only Firefox, but if it works on ie, better yet.
>
> TIA
> Grillo
> __
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Re: Dropdowns in inline elements, and CSS validator problems

2005-09-27 Thread Sam Partington
> BTW - you may like to specify a background color in the default style. The
> default background set on my browser rather clashes with the other colors.

Oh, I thought I had done, is it better now?
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Re: Dropdowns in inline elements, and CSS validator problems

2005-09-26 Thread Sam Partington
>   
>   
>title='Standard' />
>
> The 's with the ' type="text/css" ' attribute set were picked up
> by the w3c validator. The links without the type attribute set were
> not validated. The validator must be looking for the type attribute to
> determine what should be checked.

Spot on. Adding the type attribute fixed it, I wasn't even aware of
the possible use of that attribute for link tags to stylesheets.

The validator doesn't seem to be bothered about the './' in the links,
but thanks Steve for the suggestion.

It seems they must uploaded a new validator, because not only has that
all changed without my having done anything, but by default I now get
a load of warnings [1] that I didn't get before.

And wheras I used to get a warning about overflow-y [2] not being
valid for CSS 2.1, it was only a warning before, whereas it is now by
default an error unless I specify profile=css3.

I guess I'm going to have to either server up different css to IE, or
find some other work around.

Thanks very much all, its lovely to have all [3] my tests passing again :-)

Sam

[1] All background-color not specified.
[2] I use overflow-y to avoid an IE scrollbar oddidty.
[3] Well, all of the ones in my control.
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Re: Dropdowns in inline elements, and CSS validator problems

2005-09-26 Thread Sam Partington
> >>Also, my CSS validation tests have recently stopped working correctly.
> >> The validator now reports "No style sheet found".  The xhtml
> >>validates, and shows 4 or 5 styles sheets on each page. As far as I'm
> >>aware I've changed nothing, and yet every one of my pages now shows
> >>fail on my test page.
> >>
> >>http://www.luusac.org.uk/tests.html
> >>
> >>Any  ideas why the validator doesn't find any of my style sheets?
>
> Hmm, is your server still serving the stylesheets with the correct
> MIME-type? I seem to have seen a few people reporting that their servers
> are serving stylesheets as plain text, rather than as CSS.

According to my server config it should be text/css.  And according to
Firefox its text/css.  If I go to

http://www.luusac.org.uk/styles/base.css

and select Page Info it claims text/css.

I'm stumped on this one...

Sam
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Re: Dropdowns in inline elements, and CSS validator problems

2005-09-26 Thread Sam Partington
> Hope that helps,

It did, thank you very much!

Anybody got any ideas on the validator problem, its really got me
stumped.  Its as if the markup isn't referencing the stylesheets
properly, but if that were the case then it wouldn't validate would
it?

> Also, my CSS validation tests have recently stopped working correctly.
>  The validator now reports "No style sheet found".  The xhtml
> validates, and shows 4 or 5 styles sheets on each page. As far as I'm
> aware I've changed nothing, and yet every one of my pages now shows
> fail on my test page.
>
> http://www.luusac.org.uk/tests.html
>
> Any  ideas why the validator doesn't find any of my style sheets?

Thanks once again to holly and the list in general.

Sam
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] Re: Dropdowns in inline elements, and CSS validator problems

2005-09-21 Thread Sam Partington
Hello again

After a suggestion that what I was planning wasn't all that intuitive
anyway, I've done away with the dropdowns in the h1 and put them on
their own line.

http://www.luusac.org.uk/calendar.html?new_menu

Now I've come across a strange IE glitch, where IE renders one of the
months (August) twice, even though its in the markup only once.

Any ideas?  The markup validates xhtml.

I'm still stuck on the validator issue as well, any thoughts
gratefully received.

Sam



On 9/21/05, Sam Partington <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> On my sites calendar page, I need a way of easily choosing the current
> month/year.  The way I had hoped to do this was to have the title (h1)
> of the page, which reads "Calendar  " have a (suckerfish)
> drop down on both the  and  .
>
> Of course one isn't allowed to have block level elements in a h1 tag,
> so the solution doesn't validate.
>
> What i'd like to know is how would anyone else approach this problem?
> Is there an alternative solution? Perhaps my solution is just
> semantically wrong?
>
> http://www.luusac.org.uk/calendar.html?new_menu
>
> (I know the menu doesn't line up correctly, I'll address that once
> I've decided on the best solution)
>
> Also, my CSS validation tests have recently stopped working correctly.
>  The validator now reports "No style sheet found".  The xhtml
> validates, and shows 4 or 5 styles sheets on each page. As far as I'm
> aware I've changed nothing, and yet every one of my pages now shows
> fail on my test page.
>
> http://www.luusac.org.uk/tests.html
>
> Any  ideas why the validator doesn't find any of my style sheets?
>
> Thanks for any help
>
> Sam
>
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] Dropdowns in inline elements, and CSS validator problems

2005-09-21 Thread Sam Partington
Hi there,

On my sites calendar page, I need a way of easily choosing the current
month/year.  The way I had hoped to do this was to have the title (h1)
of the page, which reads "Calendar  " have a (suckerfish)
drop down on both the  and  .

Of course one isn't allowed to have block level elements in a h1 tag,
so the solution doesn't validate.

What i'd like to know is how would anyone else approach this problem? 
Is there an alternative solution? Perhaps my solution is just
semantically wrong?

http://www.luusac.org.uk/calendar.html?new_menu

(I know the menu doesn't line up correctly, I'll address that once
I've decided on the best solution)

Also, my CSS validation tests have recently stopped working correctly.
 The validator now reports "No style sheet found".  The xhtml
validates, and shows 4 or 5 styles sheets on each page. As far as I'm
aware I've changed nothing, and yet every one of my pages now shows
fail on my test page.

http://www.luusac.org.uk/tests.html

Any  ideas why the validator doesn't find any of my style sheets?

Thanks for any help

Sam
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/