Click here to Skip to main content
       

Web Development

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
GeneralRe: function like evernote web clippermvpRichard MacCutchan13 Nov '12 - 1:06 
crayben wrote:
could you give me your MSN account ?
Er, why?
One of these days I'm going to think of a really clever signature.

GeneralRe: function like evernote web clippermembercrayben13 Nov '12 - 1:14 
if I have encounter some quesion I can ask for your help, BTW, MSN is convinent,pls
GeneralRe: function like evernote web clippermvpRichard MacCutchan13 Nov '12 - 1:16 
Sorry, I no longer do private consulting, and if I did it would be very expensive.
One of these days I'm going to think of a really clever signature.

QuestionPass the executive result of Java Web Start to the launch Web pagememberzwgdft8 Nov '12 - 19:26 
How can we pass the executive result of Java Web Start to the launch Web page for displaying?
QuestionStarting unit testing with MVCmemberjchalfant8 Nov '12 - 7:24 
I've just started working with MVC in VS2012 and would like to develop unit tests while developing. What are the preferred standards or conventions for unit testing in this environment?
 
I find that I prefer the 2010 environment for testing simply for the private accessor and easy test generation. My problem is I'm having a hard time deciding if I want to use mocking or constructor injection and which would lend to cleaner code. What are the preferences around here?
Generalcall and start orchestration shape using file adapter in biztalk server 2010?membersangeetha m5 Nov '12 - 20:17 
hi friends,
 
any one tell me the where i find out the sample code for call and start orchestration shape using file adapter in biztalk server 2010?
 
pls share that link here.
 
thanks in advance.
QuestionI can not get data from url when use method post paramater using php. because page use token. please help me [modified]memberaa_zz5 Nov '12 - 15:09 
I want get data from url, I use HTTP_Request to post parameter and get data from url. If url not using token then get OK, but If url using token then get data not OK.

Please help me get data from url have use token.
thanks very much.
 
nothing

-- modified 5 Nov '12 - 21:44.
QuestionHow to generate alphanumeric auto increment id in mysqlmemberDeepthi.214562 Nov '12 - 1:01 
How to generate alphanumeric auto increment id in mysql
AnswerRe: How to generate alphanumeric auto increment id in mysqlmentorKeith Barrow2 Nov '12 - 1:24 
Hi,
 
We have a forum for MySql Problems, I suggest you move your post here[^]
 
Regards,
 
Keith

AnswerRe: How to generate alphanumeric auto increment id in mysqlmvpSandeep Mewara3 Nov '12 - 7:36 
Have a look at this article: Auto Generate AlphaNumeric ID’s in a SQL Server Table[^] - It's for SQL Server but the around it remains the same.
Sandeep Mewara
Microsoft ASP.NET MVP
 
[My latest Article]: Server side Delimiters in ASP.NET[^]

AnswerRe: How to generate alphanumeric auto increment id in mysqlmemberS.M. Zamshed Farhan15 Jan '13 - 4:33 
You have to store the key as two columns. A char prefix and an auto-incrementing int, both of which are grouped for the primary key.
 
CREATE TABLE my_table(
id INT NOT NULL AUTO_INCREMENT,
prefix CHAR(30) NOT NULL,
PRIMARY KEY (id, prefix),
...
 
Say, prefix is here 'PRF', then you get PRF1, PRF2, PRF3, ..........
Questionwhat is the differnce between specify now,specify later ,dynamic and direct?membersangeetha m29 Oct '12 - 23:57 
hi everyone,
 
please any one tell me the difference between the port bindings?
 
each port bindings used in which scenario?
AnswerRe: what is the differnce between specify now,specify later ,dynamic and direct?mvpSandeep Mewara3 Nov '12 - 7:34 
Google search of just two words(port bindings[^]) gave first two result as:
http://msdn.microsoft.com/en-us/library/aa578247%28v=bts.20%29.aspx[^]
http://msdn.microsoft.com/en-us/library/ee268170%28v=bts.10%29.aspx[^]
Sandeep Mewara
Microsoft ASP.NET MVP
 
[My latest Article]: Server side Delimiters in ASP.NET[^]

QuestionHow safe is facebook connectmemberChona117129 Oct '12 - 22:30 
Hi I am currently thinking about using facebook connect in order to provide a login to my web site.
 
Problem is I looked at the source and it all seems to be javascript.
 
So please correct me if I am wrong but if someone is to make a fake facebook site on their local IIS with the relevant scripts that can return any facebook user Id they want and edit their hossts file to point to the local copy of facebook . that means that pesron has access to the specific profile connected to that facebook ID on my site.
 
Can anyone please let me know what can be done ?
Chona1171
Web Developer (C#), Silverlight

AnswerRe: How safe is facebook connectmemberEddy Vluggen30 Oct '12 - 3:36 
Chona1171 wrote:
So please correct me if I am wrong but if someone is to make a fake facebook site on their local IIS with the relevant scripts that can return any facebook user Id they want and edit their hossts file to point to the local copy of facebook . that means that pesron has access to the specific profile connected to that facebook ID on my site.

Can anyone please let me know what can be done ?

When I go to FB, it shows a SSL-prefix. You could verify it's certificate - would be hard to spoof that Smile | :)
Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

QuestionWorking example for Javascript to call a java webservicemembersekhar48429 Oct '12 - 3:10 
Hi.. Can anyone provide some working example of calling a java webservice method(simple helloworld method) from javascript.
AnswerRe: Working example for Javascript to call a java webservicememberryanb315 Nov '12 - 9:34 
jQuery's .ajax() is my recommendation.[^]
There are only 10 types of people in the world, those who understand binary and those who don't.

QuestionWidth issue with Rotated ImagememberSifar - 025 Oct '12 - 3:32 
I have written below code. Need to run on IE versions, so used filter for rotation. Clicking several times on the button, that will update the width of the image, will re-position the image.
 
Any help will be appreciated.
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Zoom Issue</title>
 
<style>
.ImgClass{
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
height : auto;
width : 100%;
 
}
.divClass{
width : 800px;
height : 750px;
}
 
</style>
</head>
 
<SCRIPT type="text/javascript">
function zoomImage(){
    document.getElementById('myImage').style.width = document.getElementById('myImage').offsetWidth  * 1.5;
}
</SCRIPT>
 
<body>
<input type="button" id='btnClick' value='Click' onClick="zoomImage();"/>
<DIV class='divClass'>
<IMG class='ImgClass' id='myImage' src='Image.jpg' />
</DIV>
 
</body>
</html>
Regards,
-SIFAR.

QuestionTechnical background of mailto: ?memberperi74723 Oct '12 - 20:43 
A click on a mailto: link opens a new message window of your mail client. But what is the technical background? What does the browser do to open the mail client, open a new message window in the mail client, and finally pass the link arguments to the new message window?
The background is that i want to do the same from a different application, but not the browser.
AnswerRe: Technical background of mailto: ?memberJ4amieC23 Oct '12 - 21:38 
Not sure how it resolves the right mail client - inveriably something somewhere in the registry.
 
What I can tell you, is that if you go Start>Run and type mailto:test@test.com it does the same thing. This means its almost certainly possible to do this using Process.Start from code
AnswerRe: Technical background of mailto: ?mvpRichard MacCutchan23 Oct '12 - 22:14 
See here[^] for more information.
One of these days I'm going to think of a really clever signature.

GeneralRe: Technical background of mailto: ?memberperi74723 Oct '12 - 22:52 
Google delivers tons of information on a mailto: usage level. My previous attempts to find more information about the technical background were not successful. That's why i hope to get some clues for a more specific google request.
GeneralRe: Technical background of mailto: ?mvpRichard MacCutchan23 Oct '12 - 22:55 
Well you need to go and read some of those links, only you know exactly what information will be useful to you.
One of these days I'm going to think of a really clever signature.

GeneralRe: Technical background of mailto: ?mvpRichard MacCutchan23 Oct '12 - 23:01 
Here[^] is an answer from Microsoft on the subject.
One of these days I'm going to think of a really clever signature.

GeneralRe: Technical background of mailto: ?memberperi74724 Oct '12 - 1:51 
Thank you, Richard Smile | :)
I found another Microsoft Page in the meanwhile with additional information.
AnswerRe: Technical background of mailto: ?memberryanb315 Nov '12 - 9:35 
It's a protocol, just like http.
There are only 10 types of people in the world, those who understand binary and those who don't.

QuestionS3 Bucket scripting language recommendations. [modified]memberdgolberg23 Oct '12 - 10:26 
Hey guys,
 
I'm a bit new here (obviously), but I found the site while looking into the S3 access via c#. I think, before I dig too deep into c#, I should look more at what might be the best language to write a program in for accessing the S3 bucket.
 
For starters, I'm a bit more of a beginner at coding, so I'm not very familiar with too many code types, but I have worked with c# in the past as part of a college class, which is why I looked at it first. Aside from that, I've got a moderate to advanced knowledge of javascript in relation to Photoshop scripting, but otherwise can be considered a beginner in pretty much any other language.
 
What I'm looking for is a good, cross-platform language that I can create a user friendly GUI for that can access an Amazon S3 bucket (the Gui wouldn't need to display the bucket, just the background coding would need to access it in order to determine what the GUI should display/do). I found the .net framework for other OS like Mac OSX, Linux, etc. that's called Mono but was wondering if anyone had any other recommendations that might be better suited to the task, more cross-platform friendly, and/or easier to program for, yet still secure enough I wouldn't need to do too much extra security oriented programming to prevent unauthorized access to the S3 bucket.
 
To put it simply; does anyone see any reason I should go with another language other than c# since I'm working with non-windows based OSes?
 
Thanks in advance for any assistance!
 
dgolberg

modified 28 Nov '12 - 22:04.

QuestionHow to search a phrase by using google api and phpmemberDeepthi.2145621 Oct '12 - 22:56 
I have to search a phrase by using google api and php.Any one have an idea,Please give some suggestions.
AnswerRe: How to search a phrase by using google api and phpmemberEddy Vluggen30 Oct '12 - 3:38 
I'd suggest Google's documentation[^] on the subject.
Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

QuestionWhat every beginner should know about website development?memberabitcode21 Oct '12 - 21:21 
I am a novice at building websites and considering to make one. But there is a lot of confusion that's going on right now. I guess every beginner faces them. Few questions that come up are:
 
1. I have an idea and a need a website. That's all i know right now. But how do i start ? HTML is for sure the basic language but there are a hell of other technologies too. What is actually asp, php, ruby etc? How do i choose the right one from them? Other than asp, php there is javascript and other languages under the same belt. What are they used for?
 
2. Hosting. When i am choosing the host, what considerations i have to keep in mind ? What support do i need from them (other than getting some important space obviously!).
 
3. I am considering of making the website in ruby on rails. I don't know about php and what effect it would have if i choose ruby over php. I thought about ruby just because its new and i dont want to learn some thing "not new"! :P Moreover what is a framework and how does a framework effect my development process?
 

These three questions are just to explain my "confusion" better. There is obviously a lot more to it. Just to try to answer how the flow of website development goes keeping in mind my questions!
AnswerRe: What every beginner should know about website development?mvpRichard MacCutchan21 Oct '12 - 22:09 
  1. Take a look at ASP.NET[^]; lots of samples and tutorials available.
  2. Plenty of hosting companies to be found, check their prices and terms.
  3. http://rubyonrails.org/[^]
One of these days I'm going to think of a really clever signature.

AnswerRe: What every beginner should know about website development?memberRichard A. Abbott22 Oct '12 - 1:39 
HTML (for the mark-up) you should find as pretty easy to learn. CSS (for style sheets), you should also find reasonably easy. And if you understand how style sheets are constructed and used, then those skills learned are (sort of) transferable to the application of jQuery, which is a JavaScript framework. Yet, as with everything new, don't expect to run before you can walk.
 
Some references for you ...
 
http://reference.sitepoint.com/html[^]
http://www.w3schools.com/default.asp[^] where you can learn a variety of web technologies
Book "Pro CSS and HTML Design Patterns by Michael Bowers" ISBN-13 (pbk): 978-1-59059-804-7 Apress
There are plenty websites that offer video tutorials in all web technologies, including http://net.tutsplus.com/[^]
 
If your interests are towards PHP/MySQL, then this book is a good one. "Beginning PHP and MySQL: From Novice to Professional, Fourth Edition by W. Jason Gilmore" ISBN-13 (pbk): 978-1-4302-3114-1 Apress
If your interests are Microsoft technologies, you can get tutorials and downloads from here, and they are a good resource http://www.asp.net/[^]
 
In terms of hosting, it would not be appropriate to direct you to any particular organisation until you decide which technology you wish to develop for.
 
In terms of Ruby, see my reply in the thread below here for references.
AnswerRe: What every beginner should know about website development?memberjkirkerx22 Oct '12 - 10:10 
The basic building blocks to a website is HTML, Hyper text markup Language and Javascript.
 
Now you have to decide on HTML version 4 or go straight to HTML version 5.
 
As far as ASP.Net, PHP, and Sun Java I don't know about Ruby, that's a personal choice.
 
I use to write in PHP, but dumped it for ASP.Net. Sort of wish I would of went Sun Java instead.
 
It doesn't really matter what you use at this point, the first thing you need to learn is html, css and javascript, Which is a steep learning curve, if you want your pages to look the same across all browsers.
AnswerRe: What every beginner should know about website development?memberChona117130 Oct '12 - 2:30 
Hi
 
It feels like yesterday (about 5 years ago when i was exactly in the same spot you find yourself).
The advise posted www.asp.net is an excellent place to start. but here to answer your questions.
 
1. HTML , CSS and Javascript is essential to what makes a website tick , no matter what technology you are using the output at the end of the day will be html, ASP.NET, php, ruby, cold fusion ect are all server side technologies these essentially help you bring more features into your website like user login, dynamic data | data that you can edit without haveing to ftp upload new pages after you created them.
 
2. Depending on your technology , your hosting will vary , if you wish to host asp.net you will need a windows server host with .net framework and SQL
 
3. New does not nessisarily mean better , when you buy a new car you know its better , new in programming languages mean, still limited , expect memory leaks , and very minimal online help available.
 
ASP.net I recommend above all other server side technologies for web development for this very reason. but for you to be able to use it effectively you will need to familiarise yourself with either C# or VB.NET I highly recommend C#.
 
You will need to master your programming language asp.net and HTML, CSS and javascript in equal measures , understanding the execution order (hope I am not scaring you) but if you train full time it will take you roughly 6 months(depending on your learning ability) to be able to produce anything commecially viable, (becuase believe me when staring asp.net you will make alot of noob mistakes forgetting things like (if !ispostback, not encrypting user passwords, not using master pages ect)
 
also another aspect of web development you will have to be familiar is design , you can get allot of online designs for free aswel (maybe not exactly what you want) but you will need to figure our how to cut those designs up properly and then lay them out in your website. heres the order I recommend you study.
 
HTML - used for layout
base layout of html page
tags and attrubutes
the style tag
using images
Understanding paths in website (../ and so on)
CSS - Used for styling
importing CSS files
JavaScript - used for dynamic functions (button rollovers,"yes I know CSS can do it too but baby steps)
Programming language of choice in asp.net
Familiarise yourself with terms such as postbacks , runat server, server controls id's and the page load order (promise you you are going to use them)
Entity modelling
Databasing - SQL Server Designing a database with various data types
Database relations
Cryptography - Symmetric encryption (advanced topic but usefull
LINQ - theres an entire exction online explaining how to write these queries
Server Side Grids and data sources.
 
All in server side languages have a long learning curve especially if you have zero programming experience but in the long run they avoid your website from becoming an admin nightmare.
 

You you simply want a nice easy web page there is also google blogger
Chona1171
Web Developer (C#), Silverlight

GeneralRe: What every beginner should know about website development?memberjkirkerx31 Oct '12 - 7:03 
That was nice, and well thought out.
 
It's funny how when people start out, they get all concerned about technology. I like the ones that start out with PHP, with not a single PHP line of code in them.
 
Good Job.
GeneralRe: What every beginner should know about website development?memberSMZF8013 Jan '13 - 22:40 
I agreed with you
QuestionRoR + SQL server resourcesmentorMd. Marufuzzaman19 Oct '12 - 20:04 
Hi there,
 
I am trying to find some good resources on Ruby On Rails Web Application Development(for example demo project, videos etc) but I could not found. I will be glad for your any suggestion regarding above specially on RoR + SQL server web apps development.
Thanks
Md. Marufuzzaman


I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

AnswerRe: RoR + SQL server resourcesmemberRichard A. Abbott20 Oct '12 - 0:27 
Have a look here ... http://net.tutsplus.com/?s=ruby+and+database[^] and here ... http://rubysource.com/[^]
GeneralRe: RoR + SQL server resourcesmentorMd. Marufuzzaman20 Oct '12 - 2:09 
Thanks... Thumbs Up | :thumbsup:
Thanks
Md. Marufuzzaman


I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.

QuestionUDDI and tmodelmembernagesh1019 Oct '12 - 4:59 
Dear Sir I am doing Masters in Information technology from india. As part of my ME project I am working on QoS based web service discovery. But as I am novice to web services and its tools I am not able to move fast.
Will you please guide me so I can do well. Please provide me some technical details regarding configuring private UDDI on local machine, publishing and searching the UDDI, putting extra details such as QoS in tmodel.
 
Awaiting reply.
Thank you
QuestionChat via InternetgroupdungSoft12311 Oct '12 - 0:21 
hi everybody, i'm student IT. now i have case study about: create app via internet( web), like WEB Chat..( the client can connect to server at more address in Internet,
I'm study Java in element. i have good logic but Code is not good. Now i study Java EE. this's more knowleadge so i have proplem.
Tool: eclise, tomcat and mysql server...and using JSp and WEbService.
I don't know design about this. i'm have code JSP java SE so create a App in web i not good. Can help me.tks!
AnswerRe: Chat via InternetmemberMohibur Rashid11 Oct '12 - 19:30 
If you want to have a chat application then you will need two component at least
1. Chat server
2. Chat Client
 

Your server will do all the data forwarding to and receiving from client.
 
Now your user can access your client application through web.
 
Now, show some code if you expect any better answer
I wish I could believe there is an after life.

AnswerRe: Chat via InternetgroupdungSoft12316 Oct '12 - 7:26 
yes, i agree with you, so think i want: What tecnology and the process to create chat. how the server create and run, more client... and
GeneralRe: Chat via InternetmemberMohibur Rashid16 Oct '12 - 15:14 
you can build your server with Java, C/C++ or any programming language you are comfortable with.
 
You can build your client with Java or Flash, they are both easily embeddable with HTML
I wish I could believe there is an after life.

AnswerRe: Chat via InternetmemberJoan Murt16 Oct '12 - 19:47 
Take a look at this link[^].
 
It is an article posted here in CodeProject from Jeeva S[^].
 
And or use Google to search for: chat source java
 
This will give you plenty of details.
 
Good luck!
[www.tamautomation.com] Robots, CNC and PLC machines for grinding and polishing.

QuestionEntityFramework and MVC3membersatish gorakati10 Oct '12 - 20:47 
Hi,
 
I am pretty much new to EF and MCVC3, I have been reading multiple articles on EF and MVC3. I am really confused when the articles talk on code first EF to talk to the database. Can you please help me in providing examples where we can think more of live environment where database is in the control of others in the team which is on other servers and application is developed on MVC3 by us. What is this kind of EF called. Please do the needful
This is Satish

Questionbrowsers adding whitespace to display (solved)membercjoki4 Oct '12 - 6:03 
I have a link showing my issue, link below. In the background firefox looks to be adding extra space to the bottom of my banner nav buttons and also to the div block above it. http://postimage.org/image/krt95j1wj/
 
I have tried the following with no effect, or an undesired effect;
...font-size: 0 in the ul and font-size:normal on the li
...display inline
...add divs to the text inside the inside of the li tags
 

here is the html. any ideas...?
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style>
*{
	margin:0;
	padding:0;
	border:0;
}
#banner_container{
	width:770px;
	height:360px;
	overflow:auto;
}
#banner{
	position:absolute;
	list-style-type:none;
	width:770px;
	height:360px;
	overflow:hidden;
	clip:rect(0px,770px,360px,0px);
}
#banner li{
	width:770px;
	height:360px;
	position:absolute;
	top:0;
	left:0;
}
.right_side_container{
	float:right;
	clear:left;
	width:250px;
	height:360px;
}
.ad_box{
	height:160px;
	width:230px;
	margin:10px;
	//background:url('bg_white_fade.png');
	background:white;
}
.main_banner_text{
	position:relative;
	background:url('bg_white_fade.png');
	color:black;
	height:60px;
	width:400px;
	top:240px;
	padding:10px;
}
#banner_nav{
	list-style-type:none;
	margin:0;
	padding:0;
	border:0;
	position:absolute;
	top:325px;
	left:10px;
	width:300px;
	height:25px;
}
#banner_nav li{
	float:left;
	clear:right;
	width:25px;
	height:25px;
	border:0;
	margin-left:3px;
	padding:5px;
	font-size:10pt;
	text-align:center;
	background:url('bg_black_fade.png');
	color:white;
}
.banner_nav_current{
	background:url('bg_white_fade.png') !important;
	color:black !important;
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script>
var bg_images = new Array('slide0bg.jpg','slide1bg.jpg','slide2bg.jpg','slide3bg.jpg');
var max_banners = bg_images.length;
// these are <li> indexes
var current_banner = 0;
var next_banner = 0;
var last_banner = max_banners-1;
var btimer = null;
$(document).ready(function(){
	$('#banner>li').each(function(){
		$(this).css('background-image','url('+bg_images[$(this).index()]+')');
		$(this).css('z-index','-'+$(this).index());
	});
	make_buttons();
	start_banner();
});
function start_banner()
{
	if(max_banners>1)
	{
		next_banner = current_banner+1;
		btimer = setInterval('rotate_banner()',5000);
	}
}
function set_z_index()
{
	var index = 0;
	var cur_li = next_banner;
	for(var i=0;i<max_banners;i++)
	{
		$('#banner>li').eq(cur_li).css('z-index',index);
		cur_li++;
		if(cur_li==max_banners) cur_li = 0;
		index--;
	}
}
function rotate_banner()
{
	// move next image to far right
	$('#banner>li').eq(next_banner).css('left','770px');
	
	// move to top z-index...#0
	$('#banner>li').eq(next_banner).css('z-index','0');
	
	// move all others to -#...ie: -1,-2,-3,etc...
	if(max_banners>2)
		$('#banner>li').eq(last_banner).css('z-index','-2');
	$('#banner>li').eq(current_banner).css('z-index','-1');
	
	
	// slide in new top banner.
	$('#banner>li').eq(next_banner).animate({'left':'-=770px'},'slow');
	
	
	// update nav
	$('#ban_nav_btn_'+current_banner).removeClass('banner_nav_current')
	$('#ban_nav_btn_'+next_banner).addClass('banner_nav_current')
	
	// set values
	last_banner = current_banner;
	current_banner = next_banner;
	next_banner++;
	if(next_banner==max_banners)
	{
		next_banner=0;
	}
}
function make_buttons()
{
	if(max_banners>1)
	{
		var n=1;
		var add_nav = "<ul id='banner_nav'>";
		for(var i=0; i<max_banners;i++)
		{
			add_nav+= "<li id='ban_nav_btn_"+i+"'";
			if(i==0) add_nav+= " class='banner_nav_current'";
			add_nav+= ">"+n+"</li>";
			n++;
		}
		add_nav+= "</ul>";
		$('#banner_container').append(add_nav);
	}
}
</script>
</head>
<body>
<div id='banner_container'>
<ul id='banner'>
	<li>
		<div class='right_side_container'>
			<div class='ad_box'>
			</div>
			<div class='ad_box'>
			</div>
		</div>
		<div class='main_banner_text'>
			It's Fall!
		</div>
	</li>
	<li>
		<div class='right_side_container'>
			<div class='ad_box'>
			</div>
			<div class='ad_box'>
			</div>
		</div>
		<div class='main_banner_text'>
			It's Summer!
		</div>
	</li>
	<li>
		<div class='right_side_container'>
			<div class='ad_box'>
			</div>
			<div class='ad_box'>
			</div>
		</div>
		<div class='main_banner_text'>
			It's Winter!
		</div>
	</li>
	<li>
		<div class='right_side_container'>
			<div class='ad_box'>
			</div>
			<div class='ad_box'>
			</div>
		</div>
		<div class='main_banner_text'>
			It's Spring!
		</div>
	</li>
</ul>
<div>
</body>
</html>
Chris J
www.redash.org

AnswerRe: browsers adding whitespace to displaymembern.podbielski9 Oct '12 - 3:59 
Use firebug to check if there is really white space.
No more Mister Nice Guy... >: |

GeneralRe: browsers adding whitespace to displaymembercjoki9 Oct '12 - 5:02 
Here are two more screen shots that show my firebug window.
 

 
http://s5.postimage.org/z8zl234dj/fb_ss1.jpg[^]
 
http://s5.postimage.org/fsevfk99j/fb_ss2.jpg[^]
 
I also highlighted the ul in the first one and the li in the second. You can see the code dislayed in the window below which is odd as I did not have line breaks or tabs in my code, soI assume that fire bug is formating it. The generated source looks like this
 
<ul id="banner_nav"><li id="ban_nav_btn_0" onclick="selectFocus(0);" class="">1</li><li class="" id="ban_nav_btn_1" onclick="selectFocus(1);">2</li><li class="banner_nav_current" id="ban_nav_btn_2" onclick="selectFocus(2);">3</li><li class="" id="ban_nav_btn_3" onclick="selectFocus(3);">4</li></ul>
 
I do not see any whitespace, but it looks like a css issue with a height of 25px and padding 5px on the li. Firefox, Chrome and Safari do add this. the odd one is IE, but I think IE is correct (I could be wrong).
 
I had read online that making an element float forces a dislay block on the element which also adds spacing to the bottom, which is what I see here. But I also think that firefox and company are taking my 25px height and 25 px width, and adding the 5px padding to these along the y axis. I suspect that IE is respecting the 25px h+w and forcing the padding to stay with those limits....this is all just guess work on my part, so I am hoping the community has some advice.
 
I can run the code with the extra spacing, it does not stop it from working, but I would like it to truly look the same on all platforms.
 
ideas...?
Chris J
www.redash.org

GeneralRe: browsers adding whitespace to displaymemberRichard A. Abbott9 Oct '12 - 5:27 
cjoki wrote:
I think IE is correct

That depends on what version of IE. Previous version calculated the box model differently to Firefox etc. Latest versions calculate that in the same way as Firefox etc. http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-did-internet-explorer-get-the-box-model-right/?search_index=1[^]

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 21 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid