Home > Web Front-end > HTML Tutorial > Experts please come in! ! ! ! ! ! It's really annoying! ! ! ! _html/css_WEB-ITnose

Experts please come in! ! ! ! ! ! It's really annoying! ! ! ! _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:16:46
Original
983 people have browsed it

先上代码:



  
  
    
    
      
      
      
      
    
    
      
      
      
      
      
    
  
用户名:
        
      
验证码:
        
      
密 码:
        
      
 

  
    
      
      
      
      
    
  

        
      

        
      



页面为100%时,效果是这样的:

页面为75%时,效果是这样的:

有谁能帮帮小弟,让页面为75%时,“用户名”和“密码”不会跑偏!!!!!
在此先谢过了!!!


回复讨论(解决方案)


   
   
   

输入
输入

     




;Input
Input

……
Hero, you are mine My benefactor! ! !

But it didn’t quite meet my requirements. As you know from the code, I have two "tables". The second "table" is styled as "style='position:absolute;right:0;bottom:0'", but the effect is not good either. The above situation will still occur.


Now I can only solve this problem by setting a table inside

. Do you have any other ideas?

Can't you combine the two tables


Or put them in one table

Can't you make even a little change?

You can't do the two tables Combine it


or put it in a table

Can't you make a little change
This hero, I understand what you mean. But don't you feel a little tired? A little something requires three forms to complete.

Now I add an extra row to the table inside the

to solve this problem. Explain that I don't want complicated things, to put it plainly. It would be best if my results could be achieved without the form. Do you understand what I mean? ? ?

Can't you combine the two tables

Or put them in one table

Can't you make a little change?

Why use 3 tables, combine them Just make it into a table. As mentioned in #4, add an extra row for the login button and delete the original table



                                                            ">
                                                                 ="16%" align="right">Verification code:
                                                                                                                   ="textfield2" style="width:80px;"/>




"textfield2" id="textfield2" style="width:100px;"/>
                                                                  >             
                                                           = "right"> url(images/915-1.jpg); margin-top:5px;"/>


Password:


Use relative layout, not absolute

Quoting the reply from KK3K2005 on the 4th floor:
You Can't 2 tables be combined

Or can they be placed in one table

Can't a little change be made

Why use 3 tables? Just combine them into one table. Okay, as #4 said, add an extra row for the login button and delete the original table


Sir, please write one without using a form, okay? I now want to get rid of the table to achieve the effect of Figure 1.

Use relative layout, not absolute

I use relative layout, please see the code "


Just set relative positions for the parent elements of the username and password boxes

Hey hero, please write one that doesn’t require a form, okay? I now want to get rid of the table to achieve the effect of Figure 1.

I use relative layout, please see the code "


Very casual, very simple thing, so troublesome
You have wasted a lot of people's time
The key reasons are not well understood. Knowledge
If it doesn’t work, why don’t you just change it to someone else? It’s useful in a hurry

It’s very casual and a very simple thing. It’s so troublesome
You wasted a lot of people’s time
The key reason is not very clear Good understanding and understanding of basic knowledge
If it doesn’t work, why not change someone else to do it? It’s helpful in an emergency
This hero, I know you are an expert. The reason why I am in so much trouble is because I encountered different situations. . There are also different solutions to the same problem. As for me wasting other people's time, it depends on who I am. I believe that the problems I encountered will also be encountered by others, and the people who can see this post are also the same. Learning (except for experts). Because I don’t have a good understanding of the basic knowledge on this issue, I want to learn from you! Another point, should I replace it, there is still no one in the company. I can’t find anyone who can replace me. I have something to do!

I don’t know what to say, but you have to be suitable. Contact me and send me your corresponding code package. I will change it for you. Don’t waste other people’s time here.

Now I feel that using table layout is really painful. I used to make a login box a long time ago. , I used other people’s codes to create several tables, which was a shame.
Later, I studied div and used div to make it. The structure is clear and the amount of code is small.
But I don’t know where to put it now. Otherwise, I’ll post it for your reference

I don’t know how to say it, it’s really simple, but it’s someone who is relatively familiar with it. Please contact me via email and send your corresponding code in a package. I'll change it for you. Don't waste other people's time here.
Real benefactor! Learned...

Many people talk nonsense without understanding what others mean. Thank you very much for your help!

It’s really hard to use table layout. I made a login box a long time ago. I used other people's code and set up several tables.

Later, I studied div and used div to make it. The structure is clear and the amount of code is small.
It’s just that I don’t know where to put it now, otherwise, I would post it for your reference

I feel the same way! ! ! ! !

It seems to me that the position between the div, table, and image has not been adjusted properly. Since there are no images, I cannot debug it myself

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template