Jump to content

cssfreakie

Staff Alumni
  • Posts

    1,674
  • Joined

  • Last visited

Everything posted by cssfreakie

  1. don't use that crappy stuff, ask a designer, or someone you know that can draw nicely. Ones he or she did, you might want to use a vector design program to just recreate it.
  2. Hi guys, I was just reading on the page of squirlmail in some update the following which made me think (uhmm okay how does that work) I quite don't understand why something like a 8-bit character could cause a denial of service risk? I know there are some ways to do a dos attack, but I never heard of this before, could anyone point me in the right direction? Thanks
  3. yeah wrapper/container is the common term to name a div to bundle stuff. Nothing special though, you could call it #monkey-balls if you like. But something to keep in mind, id's and classes, certainly when you work in teams are easier to understand/work with if you give them a logical name. as far as your layout, If you sit in front of a computer screen you sit at the middle, and stare at your screen so it make more sense if the content your focusing on "main content" is in the middle of the screen (right now it's not). also something that might be nice to have a read about is something called a grid, right now your page is missing that, in a way that it looks randomly positioned. that's also because your using a fluid with on your header but not on your content. Don't do both its messy. So really read about grid layout, our brains love to draw lines in a design. Ever wondered why good photos are good? They have a certain pattern that is used (apart from great light, aperture, the way the object is facing etc). mostly a 2/3th 1/3th pattern just google it. If you now visit your site with a blank mind what is the first thing you see? test that on some people with multiple sites (big brands and your own), just ask them what is the first thing you see (so blank page and pop up your site), and don't say this is you 'baby' or whatever the fack for word you can use for it. Although this test is not really scientific in your case, it gives an idea of the impact of your layout. right now i see as first the words "WDP Community Updates" Big Brands pay big bucks on every commercial to investigate how we see their commercial, and that's for a reason. best is to ask some people that not know anything about your site. people should enter the test completely blank
  4. indeed! I can elaborate, on it, but like i said if you want a quick a working way, download a template from mailchimp and follow the guide/tips. As far as the mail format: this what your looking for: http://www.faqs.org/rfcs/rfc2822.html
  5. have a look a website of apple. Apple by far is one of the bigger brands nowadays due to there great minimalistic style. white with some grey and simple colors, rounded corners and that's it. All elements got air to breath. (very important) Designs like that don't have a particular time stamp. I can show you a nice table from the 80ies, but you still would think it's from the future, because it's so minimalistic.
  6. This is a php question as far as I can tell. May I assume you used $_SERVER['PHP_SELF'] somewhere? if so have a look here: http://www.phpro.org/tutorials/PHP-Security.html Let us know if that was what you were looking for
  7. intend to underline the links? that is something the designer decides for him self. I never use it because i find it ugly. I rather use contratsing links and certainly not the default blue and dark purple. what transitional is is very well stated in the manual. But yeah your pretty much correct. strict dectates a stricter coding style and does not allow stuff like <font> etc. Well as far as the guy that was/is not impressed, have a look at your own reaction after people commented on it, in particular the use of tables. I can't be bothered if people will or will not accept things. But I wish them the best when showing of their skills to a future employer. No offence though, but you seem to surrounded by people with an interesting mindset. So stick here, and learn it the right way.
  8. have a read on the son of suckerfish menu. als you markup is a bit sloppy, you have for instance <liid="li3"> make that <li id="li3"> besides that the identifiers you use in your description ar not see in the code you supplied. So best tip, check out the son of suckerfish menu, as far as I know the best menu there is.
  9. To layout an email one needs to apply all bad practices there are. Use tables and inline style.(only with emails) maybe want to have a look at the standard templates of mailchimp to get the idea. There are quite some articles on designing emails. just google it.
  10. Good one! here is some more info on that return false; thing http://cs110.wellesley.edu/examples/return.html
  11. You already gave the answer there, inline and block elements are the mystery here. Block elements can be floated, inline elements can't be floated unless you say that they should behave line a block element. (display:block;). So the answer is both no and yes. (that's weird isn't it ) http://www.w3.org/TR/html40/struct/global.html#h-7.5.3 a strict doctype comes in a 2 flavours. HTML 4.01, and XHTML 1.0 more info: http://www.w3.org/QA/2002/04/valid-dtd-list.html If you google: easiest is to do something like: block elements w3 otherwise you end up at something different than w3.org
  12. for learning anything, a book, so my preferred site would be amazon. (css the missing manual might be nice, it also deals with IE bugs) A book of 400 pages, can be read( != understood ) in 4 days easily and that way you learn it the structured way. While online stuff mostly deals with one specific topic assuming you know stuff. Also I' like the manual of w3.org (not schools) but http://www.w3.org/standards/webdesign/htmlcss It won't get more detailed than that, but I would use that as a reference not to learn from. So learn it apply it, if it doesn't work use the manual and see if you can find out why. Something like the difference between inline and block elements is vital to know. Not certain if an elements on, look it up and you know directly how it behaves. A month is more than enough for css, to know everything an apply it, as long as you start of with good practices, like external stylesheets, tables only for multicolumn data etc. ANd again isolate problems. Much easier to learn that way too. as for your doctype, i gave a little hint that for it I prefer strict doctypes
  13. I don't know how much time you have and what your client is expecting, but making a complete cms yourself that works on multiple boxes will take you years and a lot of experience. As for Joomla, whatever people say about it, it's a great system, for average companies that pretty much works out of the box. And you can customize it yourself and prepare a custom backend administration for your client. Building templates for Joomla is also pretty doable too. But than again, you never worked with it, as far as i can make up out of the above. If your in a rush, take a week to try out joomla. read the security best practices, and try it out. You wont be able to make that 1800+ file (and counting) system your self in that time. Just make sure you subscribe to the security announcements, because here and than you need to patch it. And don't just install any component, google for vulnerabilities. Since it's opensource, everyone can deliver stuff including alot of crap. But that's not true for the core files Good luck!
  14. Steven, Something I can at-least point out is that we made a sticky on this forum, although the site you link below has a doctype your first and better attempt after defcon 1 didn't have one (and i predicted you would have problems with IE and post it here, but i thought lets see and wait, cruel me . No doctype means IE will go it to "I am IE 5" - mode. So always use that (you used it now so good job on that, although transitional is less strict in terms of perfect). As far as percentages, or fixed widths, there is no perfect way, but percentages are more tricky, and the only way to find that out is to test it. You already noticed borders are a problem when working with percentages so keep it in mind. Now since you just came along in the wonderful wolrd of css, I recommend to isolate a problem for yourself. It's cool to directly apply it to your website, but that brings in extra variables and doesn't give clean results. Nor is it clear for people trying to help out here. So in your case i would make a clean document (test file, with doctype reset.css, etc) and every-time you have a problem with for instance an Ul, create that menu in there until you know how to do it, ones you know to,..import it to your website. Also what I always do (and i still do that) is set a background color to all block elements at start. That way I know where they are visually. Also IE (all versions if you have no doctype) has some bugs, double margin bugs, z-index bug, and quite some more. I think they are well dealt with in a book called the missing manual. But don't get the habit of blaming IE, for everything, which i see on this forum a lot (that's why we made a sticky). Quite often people are the cause of the trouble them self, by just not reading that). As far as your specific problems, I rather see you isolated them, because quite some things could happen. For instance: what is the version of IE you used? And which elements precisely do you mean. If you post stuff here and it's more a mind read than a puzzle don't expect to much. So just isolate, run a test file online and point people to it with and say precisely what symptoms, there are and how you expect it to look. Also i think that's not in the sticky, but if you design for Firefox, and adjust for the rest, you are doing it the quickest way.
  15. if i am correct if it's the last style declaration that is even allowed cool eh !
  16. I can be completly dumb, but, why don't you let them overlap each other? Obviously what you have to the left is less important and probably is some sort of menu. To the right is a photo Got may an image of what you had in mind. If i were to create something like this, i wouldn't use javascript to set width for my framework.
  17. on this same subject? xhtml / html, if not watch a movie
  18. I already gave answer to the 50% divs, you don't need those surrounding divs, <ul>'s can be floated as well. also, if you don't need them to be 50% don't set the width to that amount. Also setting the width of course only affects the dimension of the element, putting stuff to the left or right has nothing to do with it, float:left/right can be used for that. as far as the links in the middle, since you took up the space with those 2 50% elements the only way to get something infront or behind it is with position: absolute In case you would set those div's not to 50% but less, you can even do with setting text-align center to the container div and place the links just in between. As far as setting stuff to 33% You can do that and use float left on all the 3 elements. which leaves you with 1 one percent unused, making it all move more to the left that the right, if you know what i mean. (width = 100% you float left 3x33% so the 1% sits at the right) easiest way to deal with it is to divide 1% in two (or 4 or 8 etc) making it 0.5% and than set the margin left (or padding left) of the outer left element to 0.5% and do the same to the right margin (or right padding) of the outer right element. Hope this helps.
  19. they are both different things: One says you don't see me but i am there (and taking up the space), the other says you don't see me and i am not even there (in terms of space it takes). This could be usefull to know in case you use something like jquery. Out of my head the function show requires a visibility:none; while fadein() requires display:none; Agai I do this out of head while eating lunch Just remember they are both different in terms of space they take, you can't see them both, but the one takes his space (like a position:relative; would) and Display:none; is not taking any space (could be com paired the way position:absolute) is displayed. To be certin check the w3c, but out of my head this is how it works.
  20. Yeah laptops and heat... not an ideal combo. Something you might want to do ones in a while is screw it open and use a soft brush and a weak vacuum-cleaner (carefull though). I noticed when i was playing a nice game my laptop was heating up more than useual. Which was nice because it was a harsh battle, but for some reason, a little hair of mine seems to have gotten in to the fan and caused the fan from stopping to work, and if your laptop doesn't shut itself out, it can do some pretty nice damage on top of the combo you did in the game ... but you can do that only ones. Also something to consider: Bigger batteries 9cell+, push your laptop upwards a bit allowing more ventilation underneath your laptop.
  21. thanks, although the above is pretty much the core in a nutshell: got data? is it multi-column: use a table; name: place: date: monkeys: --------------------------------------------- johny |northpole| 01/01/2011| 12 mooo |northpole| 01/01/2011| none maaa |northpole| 01/01/2011| 22 waaa |northpole| 01/01/2011| none ist it single column: use a list; John Miller Johny Cash Elvis Presley God Zilla
  22. I recommend you continue this in the css forum, btw, you site is completely differently, and your focus more on css. In order to structure things i think that is best for you. As far as what i meant with the <ul> leave the <Ul> in there, but remove the div around it the same is for your right menu. Copy the styles they have though and give them to the <ul> instead. this is what you have: <div id="navigation"> <ul> <li><a href="#">Home</a></li> <li><a href="#">About</a></li> <li><a href="#">Services</a></li> <li><a href="#">Contact us</a></li> </ul> </div> while it could have been this with the properties i gave before. <ul id="navigation"> <li><a href="#">Home</a></li> <li><a href="#">About</a></li> <li><a href="#">Services</a></li> <li><a href="#">Contact us</a></li> </ul> Notice though the styles you assign in your style sheet have the selector of that div... so if you do the above make it an <ul> if that make sense, if not I really recommend to read upon Selectors classes and ID's, in fact i wrote something about it.... as far as that newline clear thing from w3fools.com i have no idea what you mean, and it's probably bad. without even seeing it. So rephrase that precise question and post it in the css forum in the hope some friendly people arrive and understand what you say and help out. _edit: ps, the time you used is not wasted it takes time to learn things and find your way in to something. If you still feel you wasted your time, i recommend to buy good books and skip all online tutorials because they all jump in assuming you know the basics.
  23. This topic has been moved to since it has nothing to do with sites reviewsMiscellaneous. http://www.phpfreaks.com/forums/index.php?topic=329594.0
  24. Seems i read this after i commented on your question:about the way you set up the menu. So don't even think the stuff you just wrote changed my mind on how i think of this matter. Just to underline how I (and I assume most people here) experience this and other fora/real-life: we just like to help each other out with what we know, and we do so because we've been here as 'friendly' newbies too, in fact as far as php i am still a complete newbie if i compare myself to some of the other active members. And if I may have sounded harsh, than I am glad i did, because what you showed us should have alarmed all bells with anyone in that business (that was a defcon 1 situation). Now the fact that your site is your 'baby', certainly is not a valid reason to personally attack or 'try' to mock someone you really don't know nor hide behind it as a form of argument. It's invalid as hell. Any way I hope you enjoy your stay here, and give back what you learned in the end and treat everyone here with respect. cssfreakie
  25. Well i know you didn't come up with that display:inline, because it's pretty sneaky, and not many people seem to know it exists, but it's indeed a very good way to make a horizontal menu which i use myself. in fact i wrote a similar article on it, (that's why i said hey that looks familiar ) Also setting up 2 times 50% can be a problem in case you add a border. Just try it and you will see, that the divs push each other of the line. Now you cheated a little, because you added extra div's around the <ul> which were not needed. this could have been done too: #navigation ul { background: #333333; float: left; margin: 0; padding: 0; width: 50%; } But again you may say who gives a crap, i used 2 extra div's...indeed i don't give a crap Good luck
×
×
  • 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.