• Help
  • Search
  • Login
  • Register
  • Home

Forum: web design and graphics community

Celestial Star Forum > Web Development > Coding > Code CSS on Firefox
Pages: [1]
« previous next »
  Print  
Author Topic: Code CSS on Firefox  (Read 489 times)
Otaku Ichise
Skogul
**
Posts: 36



View Profile WWW
Code CSS on Firefox
« on: August 22, 2008, 03:52:20 PM »

Ok my question is, for those who are used to code for IE7

what are the issues we should know about firefox?, like for the tags <ul> we cant give margin-top or it will also move along with the div, the solution was giving padding (for example 20px) and margin-top:0px

Also when i wanted to repeat a background pic (100px height 5pxwidth) on a div with 100% value width/height, it wouldnt show/repeat unless i gave a postion absolute to it, any beter solution?

all advices are welcome, thanks in advance.

current website im making: http://otaku_ichise.sitesled.com/falcom/eiyuu%20densetsu%206/legend_of_heroes_fc.html
Logged

ToukaCT
Angeling
*
Posts: 3



View Profile
Re: Code CSS on Firefox
« Reply #1 on: August 28, 2008, 03:25:40 PM »

Hi,

I usually start out with Firefox first since it's fully compliant with W3 standards.  In IE (at least in IE6), you can't use child selectors, I believe you can with IE7, so this may not be an issue if you don't intend to support IE6. 

Also, with IE, if you don't explicitly specify a margin/padding property, they tend to be added by default for certain elements.  So in cases where there are extra margin/padding that appears in IE, but not in FF, you should explicitly set these margin/padding property to 0.

If you are using expressions to dynamic set values, keep in mind that they only work with IE.  I tend to use them.  The only cases where I've used them was to implement hacks for IE6.  For example, IE6 does not have min-height/max-height (Not a problem in IE7).  There's an article showing how to get this around using expressions at: http://www.visibilityinherit.com/code/ie6-min-max-height-width.php 

There are more hiccups between cross browser CSS implementations, but these are the ones that I can think of the moment.

Hope this helps.

-Touka
Logged
ToukaCT
Angeling
*
Posts: 3



View Profile
Re: Code CSS on Firefox
« Reply #2 on: August 28, 2008, 03:40:44 PM »

Quote from: Otaku Ichise on August 22, 2008, 03:52:20 PM
Also when i wanted to repeat a background pic (100px height 5pxwidth) on a div with 100% value width/height, it wouldnt show/repeat unless i gave a postion absolute to it, any beter solution?

Are you still having a problem with this? Your photobucket image is not showing so I can't get a good grasp at the problem.  Nice site, by the way.
Logged
Otaku Ichise
Skogul
**
Posts: 36



View Profile WWW
Re: Code CSS on Firefox
« Reply #3 on: August 29, 2008, 09:54:27 AM »

well the best question is, on firfox if you want to repeat the bg trough the whole view window of your browser, i supose the only thing to start with is giving 100% width to that div, altough i noticed this site didnt have the value % in any the styles given to it, when i viewed this in 1200x1000px the bg kept expanding till the end of the browser window view, altough theres no % value in it  Shocked

Can you tell me how you do it? o.o specialy that #inwrapper div with just a bg on it and no value specified on width or height.
Logged

Pages: [1]
  Print  
« previous next »
 
Jump to:  

  • Welcome, Guest
  • Members login
  • Register for free

General

  • General
  • New members
  • Announcements
  • Support / Suggestions

Art boards

  • Creative mediums
  • Requests and offers
  • Tutorials
  • Celestial Star tutorials

Web development

  • Coding
  • Web design
  • Advertisements / affiliation

Off-topic

  • The non-sense
  • Ententainment

Go up
eXTReMe Tracker
  • Valid XHTML
  • Valid CSS
Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC | Seo4Smf v0.2 © Webmaster's Talks
Loading...