|
What is the best way to make a form like this one that is used by codeproject.com? I was thinking about using a combination of php and sql, but if anyone knows a better/easier way, any help would be appreciated.
PS: The form I am wanting to make is completely un-related to codeproject.com and has noting to do with program/web developement.
|
|
|
|
|
php/mysql will cost you less than ASP.NET/MS SQL server becasue thre are many hosting companies that offer free mysql databases.
you also can use a pre-made software like: phpbb[^]
|
|
|
|
|
This one is driving me nuts - any help would be much appreciated. I have a WebBrowser control in my app which I need to recover all fo the elements from to decide where certain input feilds are. This currently works fine in a web site without frames - but not in one which has frames! I have an exact same version fo the program which uses AxShDocvw web browser control in and when the navigatecomplete2 event fires I get the document handle for the document which just loaded (i.e. the frame content) amd the code works fine here. Now here is my problem - for reasons I won't go into here I MUST use the WebBrowser version fo the code - so how do I get the frame elements as documents for all fo the loaded frames when the document has completely loaded?
Any help appreciated
Thanks
Clive
|
|
|
|
|
Hi,
anybody can help me?
I want know which form controls do postback.
how can i do this pLZ? ( (
|
|
|
|
|
Hi again guys,
I have a question about applying CSS to links specifically, but I'm sure it'll help me in other area's later as well:
I understand that I should have something like
a:hover {<br />
text-decoration: none;<br />
color: #5f5bb2;<br />
}
to control the way my links display on my site. However, this seems to apply to the entire site. For example, yes, I do want all my links on the site to appear the same - except that beneath my site banner I have a navigation bar. I first made an image map for this, but then decided I'd rather use a div (which I've now got looking exactly the same as my image map did) as it'll be easier to make changes in appearance later on. However, I want my links in the navbar to appear exactly the opposite to the links on the rest of my site (ie display in white on the shade of blue I've chosen, instead of appearing the shade of blue I've chosen on a white background).
Can I have two rules for links, one which I apply in my navbar area and another for the rest of the site?
Thanks again.
A mum and loving it!
|
|
|
|
|
Hi,
Yes, you can do this:
You need to define a class for your navbar, and add your styles to this class.
So, in your CSS, add:
.navbar
{
background: #5f5bb2;
}
.navbar a
{
color:White;
}
.navbar a:hover
{
color: Yellow;
}
And then just set the class of you navbar div in your HTML:
<div class="navbar"> Put your links here </div>
----------------------------
Be excellent to each other
EasiReports[^] My free reporting component for WinForms.
|
|
|
|
|
Thanks Nicholas! And nice to meet you
A mum and loving it!
|
|
|
|
|
Any one have decent code to do smooth scrolling of the scrollbar (vertically) that can also slow down when it reaches its near its destination? Im scrolling to a DIV object that is absolute positioned.
Thanks.
-- modified at 13:06 Saturday 3rd June, 2006
|
|
|
|
|
Hello!
I would like to know if it is currently possible to send a text message to msn messenger over a web site?
Is there such interface?
Thanks!
|
|
|
|
|
Yes, but it's not part of the framework. Look on SourceForge for MSN Messenger projects. There are open source components that allow sending.
|
|
|
|
|
How can i make an FTP Connection from an ASP page to a FTP Server???
To make the connection uid/pwd will be accepted from user, if the user account is existing connect user to FTP server else error msg should be returned??? After making connection all task like Listing of Directory , renaming files, deletion, etc-2 should be possible. I dont want to buy any tool or utility or any trial versions of FTP tools. Reply soon.
Rooby
|
|
|
|
|
I want to scroll the browser to last position.
Then before I scroll I have to save the position of the window of browser.
How to get the position?
Thank you.
|
|
|
|
|
Hello
I have a webproject I recently set up on a new comp. I made a virtual directory for the client project and started the solution. Now it takes 5-6 minutes for the studio just to open all the projects. Does anyone have an idea of why this might be?
/regards
|
|
|
|
|
This could be from a number of things:
Are any of the files on a share? If so, how long does it take to access the share in Explorer? There could be a whole pile of network problems that would slow this down.
How's your web server look? Can you access a static page on it in less than 30 seconds? There's also a whole pile of network issues that you could have there.
Are you getting any error messages? If something's throwing exceptions or timing out, that'll make things take a long time.
Do you have any VS plug-ins? If you're using VS SCM (source control), or something like ReSharper, that can often change how long it takes to load a project.
|
|
|
|
|
Hi guys, I'm finally getting my CSS and DIV's sorted - thanks!
I have one final DIV to sort out. As you helped me to do below my body contains a 800px wide centered DIV which is working great:
.Content {<br />
width:800px;<br />
margin:0px auto;<br />
text-align:left;<br />
font-family: verdana, arial, helvetica, sans-serif;<br />
font-size: 0.9em;<br />
color: #5f5bb2;<br />
padding:5px;<br />
border-style: solid;<br />
border-width: 2px;<br />
border-color: #5f5bb2;<br />
}
Within it there are 3 DIV's down the left hand side to form menu's, etc which are 200px wide. Also working great. However, I now want to fill the other 600px on the right with a DIV (obviously) and am having a small positioning problem. I am able to position it horizontally, but not vertically - it's currently sitting to the right, but below the bottom left hand DIV (screenshot here[^])
I can't use absolute positioning (due to the DIV setup discussed below which I'm loving) for the top, and as float is not used for vertical positioning I would be grateful for the opportunity to pick your brains again on how this is done.
I'm using the following so far:
.ContentRight{<br />
width: 570px;<br />
float: right;<br />
position: relative;<br />
background-color: #bbbbbb;<br />
text-align:left;<br />
font-family: verdana, arial, helvetica, sans-serif;<br />
font-size: 0.9em;<br />
color: #5f5bb2;<br />
padding:5px;<br />
}
Thanks!
A mum and loving it!
-- modified at 23:27 Thursday 1st June, 2006
|
|
|
|
|
You are just making them too big. Remember that the padding and the border are added to the size.
---
b { font-weight: normal; }
|
|
|
|
|
Hi Guffa, thanks again
My right hand div is 570px, left hand 200px, and the container div 800px. the border is 2px (so 8px), the padding 5px (so 20px) which is 28 - that should leave me 2px to spare? I tried being excessive and taking the right hand div down to 500px just to see what would happen - there's now an area of white space to the left of it, but it remains down the bottom. Is there something else I'm not taking into account?
Thanks again!
A mum and loving it!
|
|
|
|
|
According to the screen dump you posted:
The container is 815px.
The left hand div is 221px.
Container inner size: 815 - 4 - 10 = 801
Space beside the menu: 801 - 221 = 580
Right container: 570 + 4 + 10 = 584
There are four pixels too much.
If the right container doesn't fit even if you make it smaller, then you have something else that places it where it is.
I see that the menu and the right container are overlapping by a pixel. If they were floating beside each other they would never overlap.
---
b { font-weight: normal; }
|
|
|
|
|
Hi Guffa,
Thanks once again, I finally have it all positioned nicely and a return to some form of sanity is imminent .
I do have one last question if you don't mind? I have it working, but am not really 100% sure of what's going on - basically a lot of experimentation led to the solution. I didn't realise I could use top while using float and position: relative; but setting top: -570px; is what eventually worked - and keeps the DIV correctly positioned no matter how I resize my browser (which is what I wanted).
width: 580px;<br />
left: 0px; <br />
top: -570px;<br />
float: right;<br />
position: relative;
Is this a hack? I'd prefer to do it properly. Thanks again for your time.
A mum and loving it!
|
|
|
|
|
Yes, that's pretty much a hack. What you risk is that in some browsers it will work differently, and you end up with the content way off the screen. Have you tested it in different browsers?
Also it depends on the exact height of the menu. Have you specifided an absolute height, or does it just happen to be 570 pixels? If it's the later, that may very well change, for an example if you change the text size setting.
---
b { font-weight: normal; }
|
|
|
|
|
Megan Forbes wrote: I have it working, but am not really 100% sure of what's going on
What's going on (i'm guessing) is that you are including the DIVs in the wrong order. float will throw the element on which it's applied to the [left|right] of whatever follows it - but if you put it last, Bad Things Result. Think it looks odd in IE? Try it in Mozilla! So you want whatever DIVs you're float ing to come first, then the DIVs (or whatever) that you want them to float along side.
|
|
|
|
|
Aren't you sick of pixel calculations yet?
Just give the side bar a width and float it, and give the ContentRight DIV the same size and on the same side that you're floating the sidebar. That'll leave the rest of the space to the actual content, without having to calculate exactly how much space that is.
|
|
|
|
|
|
Thanks guys, it's all sorted! I'm really grateful for the help - and happy to have my page working without hacks .
Thanks again!
A mum and loving it!
|
|
|
|
|
Wow, this is a tough topic to find on the web that doesn't include third party control's. I need to generate a simple PDF document on the fly. When a user logs in and navigates to xxx.aspx I'd like the pdf to load in the browser. I need to generate the pdf based on the users data in the database and it needs to look like a sample pdf supplied by our design company. Does anyone have experience with something like this? I think I should be able to build a simple PDF with all .NET built in objects and without having to purchase third party tools. Any suggestions would be appreciated!
Thanks
"Half this game is ninety percent mental."
- Yogi Berra
If you can read thank a teacher, if you can read in English, thank a Marine.
|
|
|
|