Jump to content

raknjak

Members
  • Posts

    53
  • Joined

  • Last visited

Everything posted by raknjak

  1. Indeed. Just for the sake of giving some extra info: the rule I use is to insert more general style sheets before the more specific ones. Since global rules such as body{} are defined in General css this file should go first. Body loads before any jQuery related HTML.
  2. Fix this path and it should work. What url is shown when you view the source?
  3. Hi, I've been looking for an old solution but the website I used for this is offline. I know there are other places but Google can't help me so I need to ask you guys. http://www.noupe.com/css/20-wicked-proof-of-concepts-for-better-use-of-jquerycss.html -> look for CSS Image text Wrap: I used this solution years ago but now that website is offline. This is an old solution, there must be newer ones like this. Basically, I've got multiple images stacked on the right hand side and want my paragraphed text to flow around these images. As soon as we use a <br /> element it wraps under the images though. I hope i can win time by not reinventing existing solutions by asking here first. I hope this is clear - if not, I'll make you a quick concept drawing, just haven't got time right now as I'm at work. thanks in advance
  4. You could use the IE8 developer tools te debug: press F12 -> script tab -> debugging option. So apparently it trips over the XMLHttpRequest object? Try: function createXMLHttpRequest() { var myXMLObject = false; if (window.XMLHttpRequest) { myXMLObject = new XMLHttpRequest(); } else if(window.ActiveXObject) { try { myXMLObject = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { myXMLObject = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) { myXMLObject = false; } } } return myXMLObject; };
  5. I was told it is useless to use a JS function to encrypt passwords since it can be decrypted as easily as it can be encrypted at all times. Visitors have access to your scripts at all times. You could use a secure 2-way encryption algorithm but it is complicated. Also, users can always disable JS so you MUST ecrypt server-side (for example before you verify against a database entry). Off course, anyone with better understanding can correct what I claim here. good luck
  6. I think you need something like this: http://ditio.net/2008/07/17/php-json-and-javascript-usage/
  7. In IE8 for me it's fine, Firefox overlays the image over your paragraphs: try putting the text that has to come below in a div to solve this hopefully. It has an ugly preload though: in a split-second I can see the images, then they disappear. There also seem to be issues with alignment: what are you trying to accomplish with: div#homeslides { align: center; ...} because that won't work. it's either margin: 0 auto or text-align: center depending on your needs.
  8. compilation? Most probably, the link to your CSS file is dead.
  9. nonononono word-wrap: break-word; but does not work in all browsers Where is the data coming from? I presume you're trying to check unusual user input - you could do this server-side, for example in php you have the built-in wordwrap function.
  10. is there any width defined in the class .row_header{} ? All cells will use this width. If not, try playing with widths.
  11. Words wrap by default in p elements so this must be some kind of inherited behavior? => use white-space: normal; if you need to override some behavior I'd advise you te review all styling to find out what is causing the nowrap. Did you define a Doctype?
  12. position: absolute; left: 728px; is the cause: it is pushing from the left of the viewport. suggestion: - create a containing header div and make it centered (fixed with + margin: 0 auto) - what I would do is create 2 inner divs and float them to the left (and clear floats below them). The first div contains a link to the home page (on the logo), the second div contains the menu. you can use any relative positioning you like inside these divs to place the items inside them correctly, for example margins.. - set the logo image as background for the header div good luck ps: and use a doctype!
  13. http://msdn.microsoft.com/en-us/library/cc304133%28v=vs.85%29.aspx#Displaying Apparently there's better support since IE8, I have never really tested this before though. Validation issues .. better then lack of support
  14. probably using Yahoo or Gmail? Always use a catch-all email address on your own domain. e.g.: [email protected]
  15. Your simple CSS code works for me so there must be something else causing the issue. Like something in your style.css which we do not have access to ...
  16. It would be so much easier to see your markup.
  17. Hmm i am not sure about that. It works perfect at my place. i also heared that people that use inline styles, get struck by lightning twice as often, so that's another reason to separate markup and style. you're right, it doesn't need the width because of margin: 0 auto on the ul itself so it does not need a containing div. I've been using inline on this totally confusing and terrible spaghetti code project ... bring on the lightning, please.
  18. Without having any access to your CSS my only guess is that some style is being applied and you can only override it by using an inline style.
  19. If I recall correctly the example above needs a fixed height on the containing div to work - I might be wrong here. Indeed! inline styles are not only confusing, they are slower then pre-loaded styles.
  20. one more thing to add here: layout libraries are great and this one really works: http://www.dynamicdrive.com/style/layouts/ might save you some time and you can study the techniques cheers
  21. He has a DOCTYPE, check his source - and it's a correct one, too. the problem is not there. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> I tested your site in IE6, IE7 and IE8 and I can't reproduce your text wrapping issue. [attachment deleted by admin]
  22. heh, I forgot to reply yesterday your question: isn't using the *height:300px; easier or is that just a bad practise? Your requirement: a box that is at least 300px high - gecko browsers => CSS min-height: 300px; - IE => CSS height: 300px; This means that in case there is no content the box will be minimum 300px high in all browsers. If there is content and it is bigger than 300px the box will be expanded. The overflow is not needed, I must have confused you sorry. <style type="text/css"> #minimumheight{ min-height: 300px; background: lime; } </style> </head> <body> <div id="maincontent"> <div id="minimumheight"> testzone<br>testzone<br>testzone<br>testzone<br>testzone<br> testzone<br>testzone<br>testzone<br>testzone<br>testzone<br> testzone<br>testzone<br>testzone<br>testzone<br>testzone<br> testzone<br>testzone<br>testzone<br>testzone<br>testzone<br> </div> </div> </body> </html> In your IE6 screenshot my guess is that another, surrounding box with fixed height is causing the overflow to hide. Try removing height on surrounding divs. More code is needed to be sure but maybe it's more interesting to tell us what you are trying to accomplish?
  23. Maybe this will clear things up http://dave-bond.com/css/font-too-bold-on-a-mac/
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.