-
Posts
17 -
Joined
-
Last visited
Never
Everything posted by Zypherone
-
That's what I initially thought, and tried using display: none and display: block on my initial markup, but this did not work on IE6. Or does this only work on selected elements only?
-
I am trying to create my own dropdown menu, and as everyone is aware the :hover pseudo-class does not function like all other browser, as it was intended for the use of the anchor tag. Having that fact in mind, I have read about using tables as an alternative way to create a dropdown. Now, My issue is that I am trying to do that drop one level and open sideways underneath the menu. ITEM ONE | ITEM TWO (hover of ITEM ONE and is displayed as such) ITEM ONE | ITEM TWO ITEM ONE.1 | ITEM ONE.2 | ITEM ONE.3 or hover of ITEM TWO ITEM ONE | ITEM TWO ITEM TWO.1 | ITEM TWO.2 | ITEM TWO.3 Here is my current code: CSS CODE a#testing { display: block; height: 20px; width: 50px; border: 1px solid #000000; color: #000000; } a#testing table { position:absolute; top:0; left:0; border-collapse:collapse; padding:0; width:0; height:0; margin:-1px; } a#testing:hover { position: relative; white-space: normal; z-index:200; } HTML CODE a href="" id="testing">test<table><tr><td>blah</td></tr></table></a> Now I have not finalised the rest as I need the :hover function to work correctly, but I am in a dilemma where ok, :hover works kind of ok, but the pre :hover is shown. Using display:none or display:block will solve this for other browsers except IE6 as it does not support selectors after the :hover pseudo-class. Any thoughts?
-
I am making a template system and everything seems to be going well up until I have to loop in a variable where things starts to go weird. I need ideas on how to solve this. It is not picking up variables where it changes within the loop. Ie... for ($i=0;$i<3; $i++) { $body->loop_blocks('test_area', array( "TEST" => $i, "TEST2" => $test2) ); } It picks up TEST2 variable as it remains constant, but TEST variable remains at 0. function loop_blocks($blockname, $array = array()) { $this->$_blockdata[$blockname . "."] = $array; foreach ($this->$_blockdata[$blockname . "."] as $tags => $data) { $this->_looparray[$blockname . "."] = ereg_replace("{" . $tags . "}", $data, $this->_looparray[$blockname . "."]); } return true; } $this->_looparray[$blockname . "."] is where a particular block of HTML Code needs to be repeated for a loop. Any thoughts?
-
Zyx, I originally looked at "iconv" but got lost after the first few lines of explanation. Thanks anyways. Daniel0, I have applied the suggested codes in my script. We will see how it goes tomorrow. That is when it runs. So if all good that it is solved. If not well I will be back. Thanks so far for the help.
-
Now I know most of you guys have probably come across such a topic. But I am not sure if anyone has been able to answer the question. I have google it and yahoo it and so far no luck. Everyone is going around in circles and in most situation when the an "answer" is submitted it is wrong or not in the right language or misunderstood. So my questions... In relation to UTF8 and ANSI. Can we convert a file's encoding using PHP. If the answer is yes than please help me out here. Now is it possible for a UTF 8 encoding be encoded as ANSI? Reason is I have got a program that saves the file as a "csv" but it saves it with the UTF BOM, causing problems when the extracting of that DATA into a database as it does not recognize it. Two solutions has come up, the obvious ones, re-save as ANSI encoding or when extracing the data, manually adjust it to match. All good, but I have to do this each day (including weekend) and have to repeat the process for the number of files I have each day. Everything is all automated up until that point and it is annoying. Be kind and help a guy out, if not possible than thanks for reading this message.
-
I rather like it. It definitely has that "free forumware" feel to it. Maybe a little to comical but yeah, looks clean.
-
haku thanks for that, very informative, just what i needed.
-
Curious to ask, but I have noticed that IE does not display inline-block the same way as those of other browsers? Or am I doing this incorrectly. I can only achieve the same result if i use an IE conditional with inline instead of inline-block? But the effects of inline and inline-block are suppose to be different, so why is that the case?
-
I agree with MrAdam, with regards the to the boxes underneath the 'how it works' perhaps make them all with the same width so it looks like three even columns. It is about positioning in this case. Color wise, reminds me of 'foxtel' alot, orange based, i dont mind that it is a little washed out. Also make the menu a bit bigger, make it look easier to navigate by spreading them out a bit as well. And in regards on how to approach the changes recommended by Mr Adam. How much of CSS do you know, DIV's are a way of block mass amount of html code. It's properties can all be adjusted accordingly through CSS. So maybe do a bit of studying up on DIV'sand CSS a lot more before commencing those changes. With text over images, that would come naturally when you become more at ease to using DIV's and CSS. ^.^
-
Keeping to the design. Nice. However, it is the space, the lack of content. How do you plan on populating it with information? Just curious so I can have an idea on how it will look visually? I can see portfolio in away, guessing the menu on the left displays all the sites the company have done, and on the right displays the portfolio you are viewing? Or did i get this wrong? the page free? That is one of the services your offer? What would be displayed on the left part? bare in mind, people will be viewing this on wider and bigger screen too, just saw this on a 21'' and there is alot of space... ^..^
-
Nice work on the redesign. The layout, tt does have a professional feeling to it I like how you have done menu section, however i do find the color scheme a little odd... Not sure, but you have yellow, orange, blue, white, grey up at the top, ... then further down you have got white, bronze, dark orange, black, grey, dark red, blue. And pink... Simplify the colors a bit perhaps...? Drop a few colors? Then you have got the very comical animated shopping bag. I do like what you have done with FB logo. Good luck redesign
-
I like the look, very comic like indeed. The color scheme seems to work, and easy on the eye too. Um, possibly change the font for the copyright notice at the bottom. Look forward to seeing the rest of the development...
-
I would have to agree with neil.johnson. However, I do have to admit the design is clean, simple and easy going on the eye. Is the slider thing your way of showing the content of the website? Maybe show us a design that includes more content? Also as per the above post, make it SEO friendly, guessing your running a business you don't want it hurting your SERP.
-
Hello, I read somewhere that on the new version of php, you can check the location of the IP address, used to say if your from so forth go here etc... Is that true? Now if that is the case, is something similar to this available to previous version of php. I have a web page to display different content for the US and one for AU and one for NZ. Please advise... THanks
-
Hey, I am trying to validate a web page of mine, but it keeps coming up with errors, it says the tag cannot be used as an element. But It is the <h1> tags I am refering to. Is this correct or is this subject to the DTD we declare?
-
Hey guys, I am trying to do some SEO for my website, but I am struggling to do the link building side of things. What are your best thoughts on how to approach this? I also read that link building needs two types of things, back links and social networks... Again anythoughts? And also how does one check their PR?