Nathan Pitmanhello, my name is
nathan pitman.

Category: Code

Styling Horizontal Rules with CSS Oct 26. 041

Tip of the day… don’t waste hours trying to style Horizontal Rules consistently in different browsers. Instead wrap your HR in a div, set the HR to

displaynone
and style the surrounding div instead.

div.horRule {
 height
1px;
 
border-top1px solid #E5E5E5;
 
margin-top3px;
 
margin-bottom3px;
 
margin-left10px;
 
margin-right10px;
}
div
.horRule hr {
 display
none;
}

If a user is browsing your site with a device that doesn’t support CSS then they’ll still see the standard HR.

Tagged: Code

Sidebar / Explorer Bar queries Sep 15. 040

I’m working on a project at work at the moment where I’m considering using a browser Sidebar (Firefox) / Explorer Bar (IE) in place of a JavaScript pop-up.

I can’t really say a great deal about the actual application, but I have a few queries which someone out there might be able to answer. I’ve had very little joy with google. :(

  1. Is it possible to open a Sidebar using JavaScript? Or does the action of opening a sidebar have to be initiated by the user via the ‘View > Explorer Bar’ or ‘View > Sidebar’ menu?
  2. Is it possible to use JavaScript to adjust the width of a Sidebar in IE or Firefox?

Well, if you have any answers I’d be most happy to hear them. TIA! :)

Tagged: Code

yugop.com v4 Aug 27. 040

After what seems like an age, yugop.com has been updated by Yugo Nakamura.

yugop.com updates

In addition to the new flash experiments and newsfeed section Yugo has added a beatifully executed archive of previous work, so you can still view all of his previous experiments.

Tagged: Code, Flash

New RSS feeds at Macromedia Jun 28. 040

Macromedia have made the very sensible decision to set up a bunch of ‘product’ RSS feeds to allow individuals to keep up to date with product related news. You can see the full list here.

Tagged: Adobe, Code

Web standards: Who cares anyway? Jun 09. 040

The Web Standards Project is asking you – do you use web standards? And who the heck are you anyway?

In the biggest survey since the WaSP’s inception, they are asking web designers and developers to tell them who they are, what they do and how they are using web standards. The goal being to gather enough data to focus the Project on the key areas affecting web professionals in their everyday work.

Take the Survey!

Page 4 of 7 pages « First  <  2 3 4 5 6 >  Last »