- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
57 Posted Topics
Here is one that really works, even on IE!!!!!! From: css-tricks.com to set in the exact center of the page(if you change it you can have it vertically or horizontally centered): [ICODE] div { height:200; width:100; position: absolute; top:50%; left: 50%; margin-top: -100px; margin-left: -50px; } [/ICODE] What css-tricks did …
I believe the reason for this malfunction is because they don't support li:hover, so downloading that behavior is probably your best bet.
[ICODE]var browser=navigator.appName; var b_version=navigator.appVersion; var version=parseFloat(b_version);[/ICODE] That sets the variable browser, to be equal to your users browser name, and you can write a simple if statement like the following: [ICODE]if ((browser=="insert the name of the 1st mobile browser here"||browser=="2nd mobile browser"||browser=="3rd mobile browser")) { window.location="Name of Mobile browser page" …
I am getting an expected primary-expression before '=' token, how can I fix this? [CODE]void vldtmv() { if ( brd[opx][opy].cont[1]=='H' ) { if ( ( npx - opx !== 2 && -2 || npy - opy !== 1 && -1 ) && (npx-opx !== 1 && -1 || npy-opy !== …
I wanted the program to display each piece with its assigned color preceding it (eg a white rook would be 'WR'). [CODE]#include <iostream> using namespace std; struct attrib{ char x; int y; char cont[5]; char clr; }; attrib brd[8][8]; void prntbrd(void) { for ( int y =0; y<8; y++) //accesses …
I don't know what the problem on line 12 is. [CODE]void mkbrd(void) { for ( int y =0; y<8; y++) //accesses all columns in the array { for ( int x=0; x<8; x++) //accesses all rows in the array { brd[x][y].x= char (65+x); //assigns columns names A-H brd[x][y].y= y+1; //assigns …
Windows is shutting it down with a send error message option. [CODE]#include <iostream> using namespace std; struct attrib{ char x; int y; char cont; }; attrib brd[8][8]; int main() { for ( int x =-1; x<8; x++) //accesses all columns in the array { for ( int y=-1; y<8; y++) …
I wanted every variable in the array to have .x, .y, and .cont, the error occuired on line 11: [CODE]#include <iostream> using namespace std; struct attrib{ char x; int y; char cont; } attrib brd[8][8]; //ERROR WAS HERE int main() { for ( x=-1; X<8; x++) //accesses all columns in …
Line 34 and 35 won't execute unless I insert them into the for loop. [CODE]#include <iostream> using namespace std; int main() { cout<<"Please enter an integer.\n"; int intege; int integ; for ( int inte = 1; inte = 1; ) { cin>> intege; cin.ignore(); cout<<"Please enter it again."; cin>> integ; …
When I press enter after the execution of the code, it doesn't terminate and tell me the process time etc. it just skips a line. [CODE]#include <iostream> using namespace std; int main() { cout<<"Please enter an integer.\n"; int intege; int integ; for ( int inte = 1; inte = 1; …
I don't know why my compiler didn't like my for loop [CODE]#include <iostream> using namespace std; int main() { cout<<"Please enter an integer.\n"; int intege; cin>> intege; cin.ignore(); cout<<"Please enter it again." for ( int inte = 1; inte = 1; ) { cin>> integ; if (intege==integ) { inte=0 cout<<"Thank …
1. How should it be floating? 2. Unwanted opinion: the popout menu is not good; users need bigger buttons and text, so they know where they are going w/o hovering over e/t.
Ingeva on my laptop your site had scroll bars, is that supposed to happen? Set everything in em and percentages (except images which you don't declare width and height with %, but, you position with %).
This would depend on how you intend to display the thread in the first place.
Netflix has on-demand watching too.
I would agree Let the content scroll if it needs to. By the way, please be articulate and use CODE tags.
check out dice.com, they are supposed to get 100k a year I think but that is considered good, now, of course you can make more! (duh)
Hi veledrom, for your own good try keeping your css external, or at least in the head. To move those divs I would use some positioning: Beware! This code is not tested. [ICODE] <style type="text/css"> .right{ background-color:green; height:auto; width:33%; position:fixed; left:0%; } .left{ background-color:green; height:auto; width:33%; position:fixed; left:0%; } .center{ …
Don't even bother fixing the code. You do have a pretty simple design, just a bunch of images, links and that JS image switch. Learn HTML and CSS and you'll be done in no time. You can use tutorials at [URL="http://w3schools.com"]http://w3schools.com[/URL] or [URL="http://webmonkey.com"]http://webmonkey.com[/URL]
The problem seems to be your borders, without the borders everything was ok, but the borders didn't fit on the screen, when I set the divs to 32%, it went back. About the text you complained wouldn't stay in the div, is it in a <P> or is it straight …
I'm not sure that that will always work but I use this method to center objects, Position the wrap div left: 50%; this will set the left corner of the div to be in the exact center of the page, then set a negative margin to be half the width …
I don't see any elements with a float: right; in your stylesheet.
Google pure css menus and take your pick
Personally, no offense or anything, but I want to see your website, do you have one? If so lets see your ideas in action. As web designers we must cater to the many, being such, if a quarter of my users had disabilities I would attempt things. However, there are …
Midi, if you want to preach about how everybody builds their websites wrong, get a website of your own (add the link to your sig ) and preach there. Here (I'd like to at least think) we answer people's questions, so long as they are reasonable, at least. Web designers …
It's javascript, paste it into the head of your document
This, by the way is called php, if your interested in this, you might want to check these two links: [url]http://w3schools.com/php/default.asp[/url] [url]http://hudzilla.org/phpwiki/index.php?title=Main_Page[/url] The first one is universal, a goiod site for web tutorials of any kind. The second is a great tutorial (which I am in the middle of myself) …
Hello ayi, I see that you wrote: position:[B]absolute[/B] well, I tested this and if you change that to position:fixed; it works fine, in my code I made a big green div to demonstrate the scrolling, here it is: [ICODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta …
Can we see YOUR website Midi, please?
Hi, its simple just add this by your table declaration: cellspacing="0", so our table declaration will look like this: <table width="600" height="600" border="0" cellspacing="0"> That should just about do it. Sorry, didnt notice above post.
Godaddy, has a sell domain feature, does it not?
If you post the code I can make it, otherwise, it might get a little complicated.
Like micgosta said it is best to use a repeat background/gradient (which can still be cool, check out [URL="http://bgpatterns.com/"]http://bgpatterns.com/[/URL]) Then wrap your main content in a div which shouldn't be very graphical so that the text is readable. Design your main content and site around an 800 x 600 platform …
Suggestion: TOO CRAMPED! Solution: 1.Take off your sidebar DJ KONKER things (I like them but it crowds the design) 2. Make your logo bigger so that in the middle you can stick your music box and that picture with the Konker heading. 3. all those, DJs last post last log-in, …
Ive seen Jquery do rounded corners with a simple one line link to some of its JS. Of course Inkscape and GIMP (Free graphic tools) offer rounded corners as well.
1. Save all the CSS in that menu, into a file, and call it menu.css. 2. Add this code to all of the files which have the menu in it: <link rel="stylesheet" type="text/css" href="menu.css" media="all" /> Now all of the pages with that code in it, use that stylesheet and …
Using css, this code would do it: [ICODE]position:absolute; left:50%; margin:The number here should be negative half your pages width;[/ICODE] Meaning if your page were 200px wide, the code would be: [ICODE]margin:-100px;[/ICODE]
[ICODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <!-- Created by Artisteer v{Version} Base template (without user's data) checked by [url]http://validator.w3.org[/url] : "This page is valid XHTML 1.0 Transitional" --> <title> Artisteer </title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <link rel="stylesheet" href="style.css" type="text/css" /> <script type="text/javascript" src="script.js"></script> …
You cant do that as half of that could would inevitably be in the head(Which couldnt execute it anyway) and half in the body, so thats a structuaral mistake.
Observe the daniweb design, a rectangle with rounded corners. Most people have a 1024x768 resolution, so design a big rounded rectangle for that resolution, then if someone has a bigger resolution they will have the same rectangle, just not full page. There are just about 10% of screens that are …
Giving us the code might help
Sounds like JS or AJAX, you can check that out at [URL="http://w3schools.com"]http://w3schools.com[/URL] PS. it might be PHP?
Well if your Div was the same height as the images, they would have to be on one line.
I am willing to do it for free. (That doesnt bind me of course.)
1. keep the images in a folder called img(which should be in the folder you are sending). 2. reference them as: img/img name here 3. make sure you sent your friend the images! If he doesnt have them the x shows up which means it couldnt find the image!
cross browser problems, that leaves me with more than enough to chew on, but if it is positioning problems here are some things to be known: use margins AND padding (IE only does margins), I posted a compatible centering code [URL="http://www.daniweb.com/forums/thread160495.html"]here( the last post on the page ).[/URL] As buddylee …
whats the big deal 3 and 2 both sound fine to me(dont use iframes, please!)
Well if you had set the p's z-index to 100 then it should work but anyway you could just add text with an image editor(Gimp, inkscape).
You can put your hover bar higher on the z-index which will give it precedence to appear over that div of yours
The End.
ccube921